2 Replies Latest reply: Apr 10, 2011 2:05 PM by barpos RSS

    Intro, Layer 'Main AS3', Frame 2, Line 14     1119: Access of possibly undefined property click through

    barpos Community Member

      The last line of code (found on frame 2) below renders that error, why?  Yes, frame 2 has the button on the stage with instance name "normalScreenClickHandler".

       

      function normalScreenClickHandler(e:MouseEvent):void
      {
          gotoAndPlay(5);
      }
      normalScreenButton.addEventListener(MouseEvent.click, normalScreenClickHandler);

       

      Regards,

       

      Ron