Groups | Blog | Home
all groups > flash actionscript > january 2004 >

flash actionscript : replay


sonicjam
1/15/2004 10:53:42 PM
i want to know witch script make the button that i choose to replay my flash movie

nITiNkIlLeRmEeRuT
1/16/2004 5:57:24 AM
Just create a button having instance name 'replay' and use this actionscript.

replay.onRelease = function(){
gotoAndPlay(framenumber);
}


where framenumber is the frame number from where you want to replay the movie.
e.g. if you want to start from very beginning.

gotoAndPlay(1);

Nitin

AddThis Social Bookmark Button