pre-loader question...


#1

Hey - I Just started playing around with flash…

I have a very basic question:

Is it possible to make a pre-loader that waits untill frame X in scene X is loaded?

The reason I ask is because I’m making an animation with 3 scenes, and i’m wondering if it’s possible to make a pre-loader that waits till last frame in last scene is loaded, before playing the movie…


#2

If you just want to make sure the whole thing is loaded before playing, type in the first frame

if(_root._bytesLoaded==_root._bytesTotal){
gotoAndPlay(3);
}

In the second frame type

gotoAndPlay(1);

And make frame 3 the beginning of the movie.

You can make this a separate frame or movieclip if you want.

Dain


#3

Somone at Newgrounds.com posted a file that has a preloader already created. You can simply paste it in the first three frames of your flash animation.

Check out the page here:
http://newgrounds.com/flash/index.html

It has some other good little samples and tutorials.


#4

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.