[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swftools-common] Load on demand example
From: |
Jorge |
Subject: |
Re: [Swftools-common] Load on demand example |
Date: |
Sun, 3 May 2009 20:24:18 -0300 |
Hi Chris,
Thank you.
I have searched the web for this, but I want an .SC example, not a Flash
example. For that reason I have made that post to this list.
I want an example of how to make that this Flash script do, but in
instrucctions that can compile SWFC compiler.
My knowledge of Flash it's not good to make the conversion from Flash code
to SC code.
Do you understand me? Excuse me very poor English?
Jorge
----- Original Message -----
From: "Chris Pugh" <address@hidden>
To: "Jorge" <address@hidden>
Cc: "Swftools" <address@hidden>
Sent: Sunday, May 03, 2009 5:05 AM
Subject: Re: [Swftools-common] Load on demand example
2009/5/2 Jorge <address@hidden>:
> Hi,
>
> Does anybody have an swfc script example for load images or swf files on
> demand. I need that the swf file does not have the images embedded, it
> need
> that a preloader gets the images or swf when it need, for the generated
> swf
> file will be lightweight.
>
> Thanks in advance.
>
> Jorge Colaccini
Have you actually tried searching the web, Jorge?? ! ;o)
Here's but one walk-through,
http://flashexplained.com/actionscript/loading-external-jpgs-into-your-main-swf-movie/
of many.
Basically, something like this,
...
loadMovie("1.jpg", "img_container");
..
will acheve what you desire. Simply pass the jpeg/swf and container names
as string variables. Should the file happens to be a large one, a preloader
may
be a good idea as well.
A simple Command list may be found here,
http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/
Happy coding!
Regards,
Chris.