PDA

View Full Version : Button inside movie clip



Phsyco
May 10th, 2008, 10:45 AM
i have a movie clip with a button inside, i cant get the button to work. i want the button on release go to frame 37. anybody that can help?

pablo 2006
May 10th, 2008, 07:18 PM
>i want the button on release go to frame 37

Which time line? The following will move the main timeline to frame 37 if a button inside a movie called myMovieClip is clicked.



myMovieClip.myButton.onRelease=function(){
gotoAndStop(37);
}


Make sure all your movies/buttons have instance names in the properties panel