2 Replies Latest reply on Sep 2, 2009 2:01 PM by Bullwinkle040

    1120: Access of undefined property (but it IS defined!)


      Any work-arounds to what appears to be a bogus error message?


      Multiple buttons to control a movie and one (defined with the exact same process/steps as the others) results in the 1120 error.





      //---Start movie---\\


      Go_button.addEventListener(MouseEvent.CLICK, Spin360);


      function Spin360(event:MouseEvent):void


      //---Pause movie---\\

      P_button.addEventListener(MouseEvent.CLICK, Pause);
      function Pause(event:MouseEvent):void


      No syntax error, but test run results in 1120 error on the P_button event


      Instances are established for both and the names are spelled correctly.  Is there some undocumented feature about what characters can't be used in instances and button/movie definitions?