Question
Actionscript 2 help needed to limiting the degree of rotation movieclip
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
on(release){
_root.my_movieclip._rotation+=5;
}
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?
