6 Replies Latest reply on Apr 28, 2009 3:12 PM by grandche89

    why does it say i have extra characters in this function?

    grandche89

      why does it say extra characters?

       

       

      1087: Syntax error: extra characters found after end of program.

       

       

      Symbol 12.addEventListener(MouseEvent.onRelease,exit);

       

      function exit(evt:MouseEvent):void {

       

          -root.nav_mc.gotoAndPlay(2);  
           -root.page1_mc.gotoAndPlay(30); 
      }