3 Replies Latest reply on Jul 25, 2015 6:29 AM by kglad

    Actionscript 2 help needed to limiting the degree of rotation movieclip

    faisalk62161145 Level 1

      i need help with the "limiting degree of rotation movie clip"

      I have movieclip. I want to rotate my movieclip with button. I made a script on the button






      The script runs. every time I click on a button, movieclip will rotate +5. but I want to limit rotation.

      for example, I limit only to 30 degrees rotation when clicked addition and subtraction rotation to 45 degrees.

      is there that can help me?