“Error #1009: Cannot access a property or method of a null object reference”
This is what I get every time I test the movie. All I’m trying to do is simply have a replay button at the end of my movieclip.
This is my code:
playBtn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndPlayFromFrame_581);
function fl_ClickToGoToAndPlayFromFrame_581(event:MouseEvent):void
{
animationXmas.gotoAndPlay(1);
}
I’m slowly going insane. Someone make sense of this please!