Page is a not externally linkable
kidd6441 - 8:16 pm on Jun 9, 2009 (gmt 0)
I wanted to insert a simple replay button at the end of a flash animation. The button name and instance name is "replay", and this is the AS3 code I'm using: stop(); replay.addEventListener(MouseEvent.CLICK, onClick); function onClick(event:MouseEvent):void When I try to test it I get this error: 1120: Access of undefined property replay. What am I doing wrong? Thanks.
VERY new to Flash.
{
gotoAndPlay(1);
}