Path definition

if i have a button in a movie clip, how do i direct it to affect the main timeline?

what do you mean? like scope?

mymovie.mybutton.onRelease=function(){_root.gotoAndStop(5)};

something like that

write this on the movie clip

_root.play();
_root.gotoAndStop(5);

you can use about any function on the main timeline by writing _root. in front of it

thanks guys