preload multiple .swf?
- Started
- Last post
- 5 Responses
- unknown
i have a main flash movie that contains the interface. i will be loading MANY flash movies into the content area and i was wondering if there is any way to build one preloader in the parent movie instead of seperate ones for each external child movie?thank you..
- CX0
Sorry but I am mentally challenged when it comes to most code.
I am trying to use this preloader that I use normally for main movies. But I want to keep this loader on the main timeline and load multiple swfs.
Here is the code Ive been using.
Anyway I can modify it quickly to do this? OR If anyone has any source or a link that would be great too.
total_bytes = _root.getBytesTotal();
loaded_bytes = _root.getBytesLoaded();
remaining_bytes =total_bytes-loaded_bytes;
percent_done =int((loaded_bytes/total_bytes...
bar.gotoAndStop(percent_done);
if(percent_done = 100) {
gotoAndPlay ("image");}
- tjk_work0
Another good way to do things is to have 2 bucket movie clips positioned off the stage.
These buckets will load a movie into them out of view and then when needed the movie clip can be positioned onto the stage when needed.
- neeko0
i built a preloader movie that loads individual movie clips into different levels.
having one huge movie clip is silliness. check out my site in my profile, and if you havent found anything, and if this is what youre looking for, I'll be more than happy to email you the .fla file for the preloader and some instructions on how i set it up.
- CX0
I sent you an email, thanks.
- neeko0
sent the preloader out to you and some half drunk, longwinded instructions.
its quite a simple setup actually, let me know if you run inot any problems.