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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

play one MC then play another 2

Status
Not open for further replies.

renartbrazil

Technical User
Dec 12, 2003
42
US
I have 3 MC's in my fla that I would like to play in order. Play one, then play the second then third one. Things like this I should know, but been this tends to happen when I dont play with Flash as often as I wish.
 
Don't know your actual setup, but assuming all 3 movie clips are on stage, have different instance names, and are all stopped on a first blank keyframe, thus in fact invisible, you could start the first one, with a start button...

on(release){
_root.mc1_instance_name.gotoAndPlay(2);
}

Next, on the ending frame of this mc1, add the following...

_root.mc1_instance_name.gotoAndStop(1);
_root.mc2_instance_name.gotoAndPlay(2);

And on the ending frame of mc2...

_root.mc2_instance_name.gotoAndStop(1);
_root.mc3_instance_name.gotoAndPlay(2);

If you ever want to loop back to playing the movies in the same order, just add the following on the ending frame of mc3...

_root.mc3_instance_name.gotoAndStop(1);
_root.mc1_instance_name.gotoAndPlay(2);


 
Hey worked great. One more question. I have this scene, and i just added a scene called Preloader then another called checks. The one i want to play first is neither of those two, then there is a button that will take me to scene Preloader. How can i get that first scene to play first? No matter what i do the Preloader scene plays first, any suggestions?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top