PDA

View Full Version : Preload swf!?


TRINI
10-06-2002, 01:28 AM
K, i',ve already asked this question before, but the answer that I recieved did not help me.

I have swfs loading up into empty movie clips. What I want is for when the user clicks the button to load the swf, it is preloaded , and a cool preload bar appears.

I already know how to preload entire scenes, but preloading induvidual elements like these r stumping me.

HelP!

-Trini

Pal3rm02k
10-06-2002, 07:57 PM
4 example u have a buton that on clik must load a swf into another:
on the button action enter a load movie action with your-movie-name.swf for URL, target for LOCATION, and the instancename of the emty movieclip for TARGET.

loadMovie ("desired-movieclip.swf", "instance-name");
don't forget to edit the emty movie clip!
Wiew //Grid//Snap to grid and after that select the shape of your movieclip and stick it to the left top corner!!!

Pal3rm02k
10-06-2002, 08:03 PM
forgot somtin..
the movie clip you want to load should have two scenes:
on the first scene you must put the cool loading bar and the actions to go to scene 2 when the it is loaded
on the second scene put your animation or whetever you want to put!!!

try this tuturial!!!
http://www.actionscript.org/tutorials/intermediate/flash5_preloaders/index.shtml

TRINI
10-06-2002, 10:04 PM
oh man! y didnt i think of that! have the preload scene as part of the loaded swf!!!!

thanks again.