PDA

View Full Version : Preloading


Tex
09-03-2003, 11:43 PM
Hey guys, i am looking for a code to load my movie, but i don't want to load everything...

I want to load my main interface, and then when that is loaded, i want the different movie clips in my movie to load separatly.

Can anyone help me with this?

Thanks:)

Warrior
09-05-2003, 08:00 AM
Put this on frame one of the preloader scene

if (_totalframes > 0 && _framesloaded == _totalframes) {
gotoAndPlay ("beginMovie");
}


put this on frame two of the preloader scene

gotoAndPlay (_currentframe - 1);


Put this on the frame of the movie clips to load all of them separatly.

if (_totalframes > 0 && _framesloaded == _totalframes) {
gotoAndPlay ("beginMovie");
} else {
gotoAndPlay (_currentframe - 1);
}

Ericinho
09-05-2003, 08:28 AM
should post it in the Actionscript part of this website.

but hey, let that not stop me from pointing you to a thread where they provide you with more preloaders than you can shake a stick at:

http://www.actionscript.org/forums/showthread.php3?s=&threadid=32234