Preloader....again..!

i’m trying to create a preloader that will only load 1 scene (the main scene) then when the user clicks on a button, the scene that the button takes you to loads…

would i use the ifFramesLoaded command like so:

if (_framesloaded>= *“kbs/number of frames” * ) {
gotoAndPlay (2);
} else {
gotoAndPlay (1);
}

would i use a simple preloader like that for each scene?
or is there another , more proper way to do it…??

you can’t load scenes individually.

Scenes make up your entire .swf file, and you need to preload your entire .swf file. If you only preload only 1 Scene, then your movie will lag while playing because the rest of the file is still left loading.

I recommend using loadMovie() to load in each of your sections.

Preloader Help:
http://www.kirupaforum.com/showthread.php?s=&threadid=15060

loadMovie() Help:
http://www.kirupaforum.com/showthread.php?s=&threadid=14930

ahh okie…i see…

that makes some logical sense…

thanks beta…

this is probably a silly question but…

when i execute the loadmovie command…

will the loaded movie come u p straight away? or do i need to create a preloader for this to pass more time??

i think i saw an example of this somewhere before???
probably one of 2advanced’s sites…??

Yes, you need to add a preloader to each .swf file so there is no empty gap between loading.

Just note… for a preloader on a loaded movie, use “this” instead of “_root”

So if it says _root.something change it to this.something.