Forum Moderators: open

Message Too Old, No Replies

How do I replay?

What is the action?

         

textex

9:19 pm on May 10, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



How do I replay my movie?

I have a button that says 'replay', and I want this to replay the movie.

Mobull

9:24 am on May 11, 2006 (gmt 0)

10+ Year Member



If your movie starts at frame 1, then go to that frame.
Open up the properties Panel, then go to Frame name (http://img.photobucket.com/albums/v298/Int0xication/tut1.bmp)

Type e.g. 'Start' to give it a name.
Make a stop command on your last frame (if it's not already there).

Make a replay button (if you don't have one) and convert that one to symbol. Choose the 'button' option (not movie or image thus).
Select the replay button and enter this code as actionscript:

on(release){
gotoAndPlay("Start");
}

That should work I guess. Goodluck

Btown

9:15 pm on May 16, 2006 (gmt 0)

10+ Year Member



I agree, or you can just do:

on (release){
gotoAndPlay(1);
}

if you don't want to add a frame label.