5 Replies Latest reply on Jan 19, 2011 11:23 AM by Ned Murphy

    CLICK  Movie using script

    Kusha.W Level 1

      i want to click a button ("myButton") through scripting

       

      my script is:

       

      myButton.addEventListener(MouseEvent.CLICK,onReleaseMyButton);


      function onReleaseMyButton(event:MouseEvent):void {
            // my code
      }