give you movieclip a name
then in the actions panel (on the timeline not the movieclip)
use something like

myButtonMc.onRelease=function(){gotoAndPlay(5);}