1 Reply Latest reply on Mar 6, 2013 5:11 PM by kglad

    Activate symbol animation on button press


      I am working on a project where when a character symbol is pressed athe character starts animating. However, the animation does not play unless the button continued to be pressed down.

      The character is set up as a button with the "up" and "over" columns framed respectively. The frame containing the animation for the character is framed 

        • 1. Re: Activate symbol animation on button press
          kglad Adobe Community Professional & MVP

          you should use a movieclip button instead of a simple button if you want more precise control of the way your character responds to the mouse.


          ie, create up, over and/or down frames.  frame 1 should be the up frame and should contain a stop().


          then you code your MouseEvent.MOUSE_OVER, MouseEvent.MOUSE_DOWN and MouseEvent.MOUSE_UP listeners to suit your needs.

          1 person found this helpful