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

movieclip control

Status
Not open for further replies.

and

Technical User
Jan 16, 2001
67
GB
Hi.
I have 2 movieclips, both feature some buttons. In my main movie I want a button that is within movie clip 1, when clicked, to show and start the other movie clip. What is the best way to achieve this (in Flash MX) ?
I am not sure about best practice in Flash so am getting in somewhat of a muddle.
Many thanks if you can help me.
Andrew.

 
Assuming your second movie clip had the instance name of "mc2", and was stopped on it's first blank keyframe (thus invisible), you could start it from a button in your other movie clip with the following...

on(release){
_root.mc2.gotoAndPlay(2);
}
 
Thanks!
That did the trick.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top