I am trying to make a skip button in Adobe Flash with Action Script 3.0, but when I go to test it I get the error:
gameMenu, Layer 'Actions', Frame 107, Line 4, Column 1 1120: Access of undefined property gamePlay.
I am not sure how to fix this, any help would be appreciated.
skip_btn.addEventListener(MouseEvent.CLICK,skipF);
function skipF(e:Event):void{
gotAndStop(105);
}
gotAndStopshould begotoAndStop. Also, can we see the part of your script that hasgamePlayin it? - Foggzie