How to package assets into a single swf
Is there a setting or a process I need to follow to ensure that all of my assets are bundled into my swf rather than having them in separate folders that I have to add to my website?
Yes, you must embed them rather than load them from a url at runtime:
http://www.adobe.com/devnet/flex/quickstart/embedding_assets/
Similar Messages
-
Captivate 7 - How to publish into a single swf file?
Our Authoring tool has been designed to cater for Captivat swf files for video uploads. Now that we have upgraded to Captivate 7 the swf - is merely a 'holden cache file' the video content is saved in the .mp4 file. Our programmer tells us that it will take some time to reprogramme this. Is there a way within the Captivate 7 publishing settings to still create a .swf file which will be able to stream the entire video content when uploaded or to generate a single swf file with all content?
Thank you so much! We are trying superfast to adapt to all the different changes and really appreciate you input.
PeterOK, only solution I've found is to use a 3rd party program - try cutePDF.
Thanks for nothing HP! -
Loading .FLVs dynamically into a single .SWF
Hey guys, so here's my issue. I've got a site that I'm
working on with a friend of mine who is a software developer. His
comfort is with .net and asp.net. The site we're doing has a media
section where the clients want to be able to upload videos in .flv
format and have these uploaded movies populate a dropdown list.
Instead of having them upload a .swf of an flv player and the
actual .flv movie, we would like to have a single .swf that loads
these .flvs dynamically. So, basically the problem there is that
the location of the .flv file is usually hardcoded, either through
actionscript or through the component parameters window inside
flash itself. So I figure the solution is to have the flv player
inside the swf call to a variable in the database, and when each
video is selected in the dropdown, it is set as that variable. Do
you guys have any tips on that code or any other solutions to my
problem?Yes, you must embed them rather than load them from a url at runtime:
http://www.adobe.com/devnet/flex/quickstart/embedding_assets/ -
How to combine PDFs into a single PDF and preserve links between original PDFs within single PDF
Acrobat Pro can combine multiple PDF files into one PDF file.
However, during this process not all links are supported.
Links within the individual PDF files that are combined seem to work in the single resulting PDF file.
Links that were between the individual PDF files when combined do not seem to work in the single resulting PDF file.
Combining the PDF files should support the links that were btween the original individual PDF files in the resulting single PDF file.
How can this be done?Sorry, not possible.
-
Inserting dashboards into a single master SWF
Hello experts,
I have an issue in merging dashboards into a single SWF file. Currently i have seven dashboards exported to BOE as SWF/flash files . All are working fine in BOE. Now i need to emmbed all of them in a single swf file. How could i do it.
Current procedure which i am following: I structured OPENDOUCMENT URL for all those seven dashboards in BOE. next, i designed a dashboard with seven slides with label based menu. each of that seven slides are mapped to respective open document URL. might i am wrong . please any one tyhrow some some light in my case.
Thanks
PrashanthWe are XI 3.1. We use the download document and url and include the CELogonToken when linking to child swfs, e..g
/Xcelsius/opendoc/documentDownload?sIDType=CUID&iDocID=AU_zADSPisZFqkKz6eCzKAY&sKind=Flash&CELogonToken=&Mode=INFOVIEW&BusinessArea=
In the example above, BusinessArea is a variable and is used to pass a value from the parent swf to the child swf.
You need to exercise some care in this swf within swf approach, e.g. if you have QaaWs running in to think about when you want the queries in teh child swf to be triggered, e.g. everytime you go to the child, or only if the user has selected a new value to be passed.
Personally, I think this type of multi-dashboard deliverable is better handled by pulling the multiple Xcelsius dashboards together inside a portal tool, or if you are at XI 3.1, use the Dashboard Builder functionality to pull all the Xclesius together. I hadn't thought about pulling them together using ppt, but that sounds like an option too.
SAP's Brad Welch did a webinar in June or July 2009 showing Dashboard Builder to pull together Xcelsius, WebI, web pages, pictures, together. Might be worth a look
http://www.sdn.sap.com/irj/scn/events?rid=/webcontent/uuid/b04f7e1e-981c-2c10-9898-860238a6388d [original link is broken]
I hadn't seen much about the repositioning of the Dashboard Builder tool as something to use to pull together Xcelsius and other content, but in reviewing content from the 2009 Bus Obj User Conference, I saw it mentioned in at least 4 different presenations, some from SAP folks, and feel better about developing with it more. -
Video and skin in single swf file... sigh....
Hi all,
This may be an obvious one to some of you but I have been
tearing my hair out for several days and cannot find detailed
information on what I am trying to do anywhere...
I have a requirment to convert several short DV video files
to SWF so I can publish on a web page. The finished products need
to be a single SWF files.
Importantly they also need to include a control skin.
I have been trying to use both Flash CS3 and Captivate 3 to
do this with no success. (I have found info on how to do it with
Captivate, i.e. remove borders etc, but that presents some other
problems which I won't go in to here as it's a different topic)
Is what I am trying to do possible inside Flash ? Surely it
is?! Can I import a DV video, add a control skin and publish it all
as a single SWF ?
I believe there are shareware third party products that can
do this, but I really want to use Flash and I can't understand why
it appears to be so difficult. (unless I am missing something
obvious...)
So if anyone coudl help that would be fantastic, even if
that's just pointing me in the direction of some reading material..
Cheers.oconndav,
> Is what I am trying to do possible inside Flash ? Surely
it is?!
It is. :)
> Can I import a DV video, add a control skin and publish
it all
> as a single SWF ?
You can, but be aware that video -- especially sizable video
-- works
best when the FLV file is situated outside the SWF. I
understand that your
project requirements dictate otherwise, which makes this a
bit of a
challenge, but you can put everything into a single SWF. It
just means
you'll be building your elements by hand and will control the
video as if it
were a movie clip (that is, a MovieClip class instance)
instead of an
FLVPlayback instance or Video instance in conjunction with
NetConnection and
NetStream instances.
> I believe there are shareware third party products that
can do
> this, but I really want to use Flash and I can't
understand why
> it appears to be so difficult. (unless I am missing
something
> obvious...)
Well, again, heavy Video files aren't really designed to
play inside
SWFs. For whatever reasons Macromedia/Adobe chose, video is
ideally
designed to be controlled as an external asset.
In your case, you won't be able to use the FLVPlayback
component. You
won't even be able to use the older Media components or the
component-less
Video object solution. You'll import your video asset to the
Library, place
it inside a movie clip symbol (which will stretch to an
incredible length),
then place your movie clip on the Stage and give it an
instance name. Once
it has an instance name, you can refer to it with
ActionScript. The
MovieClip class entry of the ActionScript 2.0 Language
Reference (or 3.0, if
you're uasing AS3) will give you everything you need to know
(and can do)
with movie clips.
ActionScript will give you access to the total number of
frames of that
clip, as well as the current frame. You can tell the playhead
to go to any
of its frames, play, stop, etc. In this way, you can mimic
many of the
capabilities of the FLVPlayback component -- though with less
precision.
The "skin" of your video player will be determined by you
... by button
symbols for the buttons (or you could use movie clips), as
well as other
graphic elements. It's going to be a totally
built-from-scratch project,
and you'll have to program the buttons yourself. How would
you rate your
comfort level with ActionScript?
David Stiller
Co-author, Foundation Flash CS3 for Designers
http://tinyurl.com/2k29mj
"Luck is the residue of good design." -
Not able to publish project as a single swf File
Hello Captivate experts.
I have a problem publishing only one swf file with Captivate.
My project consists of three slides. The first one is a introduction Slide, the second and the third one only contain one swf each (swf that i also created with captivate).
These files are the files who always get published together with the main .swf. So after publishing I got three swfs instead of only one
I know that a topic like this has been discussed, especially because of the new feature of Captivate 4 wich allows to export only one file, but so far i haven't read anything about swf files that can not be included. (I only found that flash video can not be inserted into a single swf).
I realized that this problem only occurs with swf files created with captivate. Swf files created with Flash don't result in a septerated file.
Did anybody have this problem before? Does anyone know a workaround?
Thanks in advance
captiwareHI Captiware,
When you insert a swf, which was created from Captivate, as animation into Captivate and publish => the swfs are kept external. This is by design.
Manish
http://blogs.adobe.com/captivate -
Pacman - hot to check how orphan package got installed?
Hello!
Today I run:
pacman -Qtd
to check what orphans I have in my system. Normally, I would not care, but some of them take really long to update, so I'd like to get rid of them. However, to ensure myself, I'd like to know how these packages got into the system. pacman -Qi shows only that it was installed as dependency, but not which dependency. Is there any way to check it?A smarter way may be running 'pacman -Rs foo' instead of 'pacman -R foo' ;-P
-
How to Inscribe all the error messages into a single package ??
Hi,
I want to Inscribe all the error messages into a single package., and call the concern package from the exception block in every sp by passing the error code to that package, which will return the Concern error message to the calling Sp.,
Can any one help me out how to accomplish this ., ?
regards
RajaI want to Inscribe all the error messages into a single package., Why do you want to inscribe all the messages in a package?
I would suggest you to store them in a table instead and you can write a functin to retrive the error messages required.
But if your requirement is for 'Package' then assuming that you store all the error messages in a table 'error_table' (say) following code may help you .
CREATE TABLE Error_Table (
Error_Code VARCHAR2(10),
Error_Desc VARCHAR2(1024));Now insert your error codes and descriptions in this table.
CREATE OR REPLACE PACKAGE pkg_Error_Handler
AS
FUNCTION f_Get_Error_Message(p_Error_Code Error_Table.Error_Code%TYPE) RETURN VARCHAR2;
END pkg_Error_Handler;/
CREATE OR REPLACE PACKAGE BODY pkg_Error_Handler
AS
FUNCTION f_Get_Error_Message
(p_Error_Code Error_Table.Error_Code%TYPE)
RETURN VARCHAR2
IS
lv_Error_msg Error_Table.Error_desc%TYPE;
BEGIN
BEGIN
SELECT Error_desc
INTO lv_Error_msg
FROM Error_Table
WHERE Error_Code = p_Error_Code;
EXCEPTION
WHEN No_Data_Found THEN
lv_Error_msg := 'No such error code '
||p_Error_Code
||' defined in the system';
WHEN OTHERS THEN
lv_Error_msg := p_Error_Code;
END;
RETURN lv_Error_msg;
END f_Get_Error_Message;
END pkg_Error_Handler;
/and you can call this packaged funtion from any exception block to get the error description.
Regards,
Abhijit.
N.B.: Code not tested -
How to include objects of a z* package into a single request
Hi Gurus,
The requirement is I need to include all the objects in a z*package into one single request.One way is I find out latest version of each program and include it in request.But there are some 200 objects in the package.Is there any simple way to do it , I mean is there any option wherein I type the package name and all programs get included in the request..........
Helpful answers will be rewarded
Regards,
Raghu.Please try this ..
Goto SE09 ..
Create a transport request ...
Delete the sub-task ..
Now place cursor on main task(request)
click on Include objects(Ctrl+F11)
In the popup check 'Freely selected objects' radio button .. click Ok
Enter the package name ... and any other parameters .. and F8 ..
This will include all the objects in the particular package selected ..
Then release the task ... -
Deploying swf with resources into a single sis on Nokia
Hi finally i have my first question on the mobile forum . I am trying to package a sis file which will contain the main swf and a settings text file.
The problem is the i have to compile them to deliver both together on Nokia device for flash lite 2.1. There is not a single decent packager out there as o see that solves my issue.
Generally i use Nokia carbide. Here is a glimpse of my PKG file:
; Add any installation notes if applicable
;"MobiStore.txt" -"!:\private\E4B653CF\MobiStore.txt"
;required for application to be covered by backup/restore facility
"..\sis\backup_registration.xml" -"!:\private\E4B653CF\backup_registration.xml"
;Add all the files needed by your flash app here. don't forget to set correct folder names!
"..\data\MobiStore.swf" - "!:\private\E4B653CF\MobiStore.swf"
"..\data\settings.txt" - "!:\private\E4B653CF\settings.txt"
Now what happens is that after the application installs on a actual Nokia device It gives error "private\E4B653CF\settings.txt" Not found !!
I confirm that the file is there manually but the swf cannot find it. In the swf i load the file "settings.txt" using loadvars.load method and providing just the file name "settings.txt", no sub-folders or anything. So basicaly the file "MobiStore.swf" and "settings.txt" are in same folder but when i run the application it says:
"private\E4B653CF\settings.txt" Not found !!
I will really appreciate if some one can help me out with this. How to package a swf with resource files into sis and deploy on a real device.Hey,
i have the same problem. Flash Lite 3.1., N97 The application is published with network only. I have even tried local only with same results.
When i try to load an image with loadMovie(image.jpg), image is not show. But this only occurs when the application is installed on E:/private/UID/. If i install the application on C:, everything is working ok.
Also same problem with loading images from http://127.0.0.1:8888/GetImage/image.png. If installed on E:, images are not shown, but if installed on C:, all images are visible. Is this problem with security? My servlet http://127.0.0.1:8888/crossdomain.xml is never called.
Simon -
FAQ: How do I load an external SWF file into a parent SWF file?
A ton of Flash users visit Adobe’s we site every month wondering about how to load an external SWF file from within another SWF.
Adobe's own TechNote on the subject attempts to answer the basic question, along with some common follow-up questions, including:
How do I load more than one SWF?
How do I load a SWF into a specific location in the display list?
How do I resize the loaded SWF?
How do I set its X and Y location?
Here are some additional resources that elaborate on loading content and on working with the display list:
Sample files for the above TechNote. A set of 3 FLA and 3 corresponding SWF files, including a parent SWF and 2 SWFs that the parent loads.
Help > AS3 Developer’s Guide > Loading an external SWF file
Help > AS3 Developer’s Guide > Loading display content dynamically
Loading multiple external SWFs within a main SWF – CreativeCow.net forums
Video tutorial: ActionScript 101 – Episode 6: Adding named objects to the Stage. By Doug Winnie. An example of how to add the loaded external asset to the Stage and modify its location or other properties.
Video tutorial: Preloading in ActionScript 3.0. By Lee Brimelow. A slightly more complicated example, showing how to make the parent SWF display information about the progress of loading the external SWF.
Tutorial: Loading and unloading SWFs - FlashAndMath.com
This article provides several examples of how to communicate between a parent SWF file and the loaded SWF:
SWF to SWF Communcation via ActionScript 3.0 (by kglad)quote:
Originally posted by:
NedWebs
You now seem to want to get rid of the swf once it has loaded
and played itself thru. To do that you would need to have something
in the swf itself that triggers its removal in its last frame. The
following might work...
MovieClip(this.parent).removeChild(this);
Unfortunately I couldn't get this to work. I placed it on the
last frame of the SWF to be called - is that right?
I am not sure I am doing it correctly... -
How to compress a bunch of .java files into a single .jar file?
Hello everyone! I am working on a Chinese segmentation job. Someone offers very excellent
such tool. When I copy his example, I find it imports
import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.analysis.Token;
import org.apache.lucene.analysis.TokenStream;
import org.mira.lucene.analysis.IK_CAnalyzer;I have downloaded IK_CAnalyzer.jar file which contains org.mira.lucene.analysis.IK_CAnalyzer class.
I find that I need to download lucene, thus I went into the following website
http://lucene.apache.org/#06+May+2008+-+Lucene+Java+2.3.2+availableand downloaded the lucene-2.3.2-src.tar.gz. Aftre unzip, I found all java source files in java directory (and in many other different subdirectories). Now it seems I need to compile all the src files and compress them into a single .jar file while keeping their original hierarchy unchanged
I think I should use jar command and with some additional options.
Can anyone show me how to do that?
Many thanks!
Edited by: aaron9979215 on Jul 12, 2008 5:17 AMThanks for reply, I?ve read that tutorial before I post. Howevver, it do tells how to compress a jar file.
The question I have is how to compile two .java file stored in different packages like
rootPackage-->subPackage-->a.java
rootPackage-->subPackage2-->b.java
I want to compile a,java and b.java both and keep their hierarchy like rootPackage.subPackage.a unchanged. If I directly go into subPackage and compile a.java, I think the hierarchy is changed.
What do you think about it? -
Is it possible inscribe all the packages into a single package ??
Hi,
In Oracle 10g , Is it possible inscribe all the packages into a single package ??
Because, my PM Is asking me to inscribe all the Packages into Single Package and give same reference to the .Net developers.
I have tried a lot, but i am not finding out the right solution for this ., and even i am bit confused whether is this possible or not.
Can any one please suggest me how to achieve this it it's possible in Oracle.You mean something like...
-- First package with functions in it...
SQL> create package mypack1 as
2 function myfunc1 return number;
3 end;
4 /
Package created.
-- assume a package body is created for this as well
-- Second package with functions in it...
SQL> create package mypack2 as
2 function myfunc2 return number;
3 end;
4 /
Package created.
-- assume a package body is created for this as well
-- One package encompassing other packages...
SQL> create package allpacks as
2 function myfunc1 return number;
3 function myfunc2 return number;
4 end;
5 /
Package created.
SQL> create package body allpacks as
2 function myfunc1 return number is
3 begin
4 return mypack1.myfunc1;
5 end;
6
7 function myfunc2 return number is
8 begin
9 return mypack2.myfunc2;
10 end;
11 end;
12 /
Package body created.
SQL>;) -
How To Concatenate Column Values from Multiple Rows into a Single Column?
How do I create a SQL query that will concatenate column values from multiple rows into a single column?
Last First Code
Lesand Danny 1
Lesand Danny 2
Lesand Danny 3
Benedi Eric 7
Benedi Eric 14
Result should look like:
Last First Codes
Lesand Danny 1,2,3
Benedi Eric 7,14
Thanks,
David JohnsonStarting with Oracle 9i
select last, first, substr(max(sys_connect_by_path(code,',')),2) codes
from
(select last, first, code, row_number() over(partition by last, first order by code) rn
from a)
connect by last = prior last and first = prior first and prior rn = rn -1
start with rn = 1
group by last, first
LAST FIRST CODES
Lesand Danny 1,2,3
Benedi Eric 7,14Regards
Dmytro
Maybe you are looking for
-
I can't find the stamp in properties, etc.. does not show up. I do not know how to otherwise get the date. This is Version 1.4 (Acrobat 5.x) DPE build 5095
-
How do I burn a simple .AVI to a blank DVD?
I don't need the fancy menu or buttons to click on. I just have an .AVI that I need to burn to a DVD. So that when it's inserted into a DVD, it starts playing right away. Thanks!
-
Hi ALL, I believe that all are doing fine! Im new to enhancements(may be like normal report or thru badis) concept and i have got some objects assignment(s) in my company..... I need help from u folks in providing some material and some good real tim
-
My iphone 5s screen does not lock whilst a call is in progress
My iphone 5s has probs whilst calling the screen doesnt lock Is this proximity sensor or a setting?
-
Safari Scrolling Down The Page Automatically
Why is Safari Scrolling Down The Page Automatically? This started 3-Days ago... Also we keep getting the "MacKeep - PopUp" Everytime we Click on an Item in the Original Screen. We have All the Latest Update for OS X 10.9.5 This is Clearly a Software