1 Reply Latest reply on Apr 21, 2011 11:10 AM by Ned Murphy

    Detect a movieclip's += direction?



      I want to know how if a movieclip is going += ._y or -=._y



        • 1. Re: Detect a movieclip's += direction?
          Ned Murphy Adobe Community Professional & MVP

          Without providing for it otherwise, you would need to continually test whether the current _y value is greater than or less than the previous _y value.


          I'd probably prepare something such that I'd have a variable assigned values to tell me that status which would be set any time I specify ._y += or ._y -=