Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating a "Replay" Button

Status
Not open for further replies.

webgs

Programmer
Oct 30, 2001
59
US
I've created a short movie. On the last frame, I load a button that I want to use to "Replay" the movie from the beginning. I've right-clicked on the button and added the following action:

on (press) {gotoAndPlay("Scene1",1);
}

It does not replay the movie. Can someone help out?

Thank you!
 
Label the actual first frame of your movie (not including the preloader if you have one...) with a unique label, such as begin and try the following...

on(release){
_level0.gotoAndPlay("begin");
}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top