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

how to stop a movieclip from playing?

Status
Not open for further replies.

Keendev

Technical User
Joined
Jan 23, 2006
Messages
106
Location
PH
hi, I have a movieclip that plays continuesly...
and I have a button to stop the clip but the button is inside the different movieclip...

how do I stop the movieclip playing on its first frame?

location of my clip:
_root.mc_playing ---> this is the clip i want to stop on 1st frme.
and
_root.mc_buttons ---> this is my button controls(inside of this I have a stop btn).

thanks in advance.
 
Assuming "mc_playing" is the instance name on stage (not just it's Library name) of the playing movie clip, the following on your button...

on(release){
_root.mc_playing.gotoAndStop(1);
}

Regards. Web Hosting - Web Design
03/13/05 -> OLDNEWBIE VS FLASHKIT
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top