3 Replies Latest reply on Jun 7, 2009 4:36 PM by kglad

    error 1087 extra characters found after end of program.

    Chemistry guy

      Why am I getting the "error 1087 extra characters found after end of program with this code".

       

      If (counter == 1) {
      Next_btn.addEventListener(MouseEvent.CLICK,KMT1);
      }
      else {
      Next_btn.addEventListener(MouseEvent.CLICK,KMT1);
      function KMT1(event:MouseEvent):void {
        gotoAndPlay("KMT1");
      }
      }