Flash - Button to Restart Movie

NoReMoRsE

Platinum Member
Jul 24, 2001
2,078
1
81
I'm trying to make a button restart my movie. I have the ActionScript:

on (release) {
gotoAndPlay(1);
}

However, this doesn't work. Any ideas?
 

Modeps

Lifer
Oct 24, 2000
17,254
44
91
Make sure you dont have any keyframes that alter the actionscript of the button after it's on there. Other than that, it looks fine.
 

DaveSimmons

Elite Member
Aug 12, 2001
40,730
670
126
add a trace / debug statement to make sure that function is actually being called by the button press?