Question
button not work
i make this button to return to scene 1 but it get error how can i fix??
stop();
Object(this).myExit.addEventListener(MouseEvent.CLICK, nonon);
function nonon (e:MouseEvent):void{
gotoAndStop(1,"s1");
}
the error massage is :
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at فذائي_fla::MainTimeline/hitsa7an()