PDA

View Full Version : pre-loader question...


GABstar
04-10-2003, 11:09 PM
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...

DainBramaged
04-11-2003, 12:43 AM
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

amb3
04-19-2003, 01:18 AM
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.

CGTalk Moderation
01-14-2006, 08:00 PM
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.