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

playing a certan frame in MC

Status
Not open for further replies.

johnnyv

Programmer
Jul 13, 2001
216
CA
hello

I have a website I am creating made up of 3 MC's. When the user clicks a button in a MC called buttons I want a MC called top to start playing at frame 20. How do I do this?

thanks
 
my_btn.onRelease = function(){
top.gotoAndPlay(20)
}

just give the button an instance name (i used my_btn) and add to frame actions
 
That script assuming everything is on the main timeline...

Regards,

cubalibre2.gif
 
thanks again Bill I will give it a try tonight
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top