1 Reply Latest reply on May 3, 2006 8:07 AM by kglad

    Simulating a button press

      I was just wondering if it is possible to simulate the onPress event for a button. For example, lets say I have the button "layers" and want to simulate the onPress event for it using actionscript. Is this possible or does it actually have to be clicked on? I hope I am missing something obvious here! Thanks in advance.
        • 1. Re: Simulating a button press
          kglad Adobe Community Professional & MVP
          you can execute all the code of a button without a button press, but to control the button's appearence and simulate the over/down states is not possible with a true button.

          if you need to simulate a button press, including displaying the over and/or down states you should use a movieclip button.