Replay button
Ok flash, not great. Replay buttons, however is what I want to talk about.
First, make a button object and name it replay. On the last frame, insert this code:
gotoAndStop(insert the frame number here);
replay.onPress=function(){
gotoAndPlay(1);
}
you can also say gotoAndStop(1) for the last line if the first frame is a menu.