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!

Creating an loading swf before the site starts

Status
Not open for further replies.

orbitph

Programmer
Feb 23, 2001
35
NL
I would like some help about creating a loading swf before the actual site starts (site is loading in background, but visitor sees "loading")

How can you set this up?

Greetz working on flash and vb6
my game is coming soon
if you have tips send them to me

in the mean time check out
 
make a small animation that plays for about ten frames(or however big ya want it)in the first frame of the animation put these actions:

ifFrameLoaded ("Scene 2", 1) {
gotoAndPlay (1);
}

in the last frame of the animation put a gotoAndPlay (1);
action (this keeps the movie looping until scene 2 has loaded)..

thats it..real simple..

e.gif


carlsatterwhite@endangeredgraphics.com
 
I tryed the code you suggested, but I had problems. I did it by creating two scenes the loading image in scene 2. But the loading image (scene 2) displayed after scene one. What am I doing wrong. Thanks
 
the loading image should be a mc in scene 1... or am I understanding your post correctly? Ya' Gotta Love It!
sleepyangelsBW.jpg
 
go into the scene panel and drag the loader scene above the other one..
e.gif


carlsatterwhite@endangeredgraphics.com
 
virt2001, I changed scene order and now the only scene that loads at all is the loading please wait (scene 2).

Tulsajeff, I don't know what you mean by mc in scene 1
Thanks
 
well...I was simply referring to the way I do it... I have a movie clip which is normally a flashing "Now Loading..." or something similar which I will have playing in scene 1 until the ifFramesLoaded becomes a true statement and takes the user to scene 2 which is the main movie.





Ya' Gotta Love It!
sleepyangelsBW.jpg
 
go back into your actions and make sure you have the right scenes being called..rename your loader scene "loader"..have the other scene1..

first frame in the loader scene should have this..

ifFrameLoaded ("Scene 1", "last frame of scene1") {
gotoAndPlay (1);
}

last frame of loader should have gotoAndPlay (1);



e.gif


carlsatterwhite@endangeredgraphics.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top