View Full Version : Preloading seperate frames
rpgfan
04-15-2007, 12:47 AM
How do you make flash preload sepreate frames? I know its possible beacause ive seen people so it before.My qeustion is how you do it. It would be cool if I could do it too :P
truimagz
04-20-2007, 12:48 AM
the easiest way......
create each frame as a seperate .swf.
then create a pre-loader in scene 1 of each, content in scene 2
then in your main movie instead of saying gotoAndStop(2)
you use _root.loadMovie("myframe2.swf") and so on for the rest of your frames.
arkhan
04-20-2007, 05:22 AM
not loadMovie, as you have no control over what is bein loaded..use MovieClipLoader instead..
Im not sure you can have control over frames loaded..you may have an idea of what is loaded, because flash gives you filesize per frame with bandwidth profiller on debbuger..and as flash loads everything in order..
LizardRob
04-20-2007, 11:04 AM
Arkhan has the simplest way. Once you've done each frame, select the entire frame and turn it into a movie clip (Or each bit on each layer if you have layers).
Then load the movie clips for each frame with a function on the frame to load the Movie clips.
vBulletin® v3.7.3, Copyright ©2000-2010, Jelsoft Enterprises Ltd.