Replaying Animation at the end

I am sure this is in one of the tutorials (I’ve read through the 3 that I thought it would be in) and I couldn’t find this, so…

… At the end of my animation, I have a stop function with 2 buttons. I’d like one of them to go off site, and the other to replay the movie. I’ve got the off site one to work, but I can’t figure out how to replay. (I am completely new to actionscripting.) If someone could help, it would be … well … Very helpful! :smiley: Thanks!

Have your button on the main timeline of course…

Add these actions…

on (release){
gotoAndPlay(1);
}

That takes you back to frame 1 and replays your animation.

You = Awesome. Thanks again! ^^

No problem =)