Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Preloader help needed!!!

Status
Not open for further replies.

DorXBasS

Vendor
Feb 1, 2001
23
CA
Ok let me explain my .fla....

I got 2 scene.
One with an intro, and the other : the site.
i want to know, how could I make a preloader that will load the 2 scenes before playing anything...

For now, i got a frame in my first scene that is the loader.

ifFrameLoaded ("Scene 2", 320) {
gotoAndPlay ("Scene 1", 2);
}
scene 2 is my site
scene 1 is this intro.

Please help me I'm really stuck with this and the page is really too slow withtout a preloader...
Wanna test...
Tnx in advance.
Mike
 
There are heaps of tutorials around about this but basically you need to make a loading screen of some kind eg a moving bar and place statements along it that check how much of the movie is loaded i.e.

movie is 100 frames long 2 scenes

preloader is 10 frames long

frame 1 has a ifframeloaded(Scene 1, 10)
GoToAndPlay(Current Scene, Next Frame)
frame 2 has a ifframeloaded(Scene 1, 20)
GoToAndPlay(Current Scene, Next Frame)

all the way up to frame 5 when it changes to

frame 6 has a ifframeloaded(Scene 2, 10)
GoToAndPlay (Current Scene, Next Frame

and so on.


Check out for more help or drop me a line.


Justin.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top