Ultimate Gear War
Join the alien war, prepare your gear and protect your base at all cost!
4.14 / 5.00 17,286 ViewsDoes anyone know how to make a symbol get random angle every time you click on it?
Using AS2 (yeah I know I should be using AS3 but I like more the AS2).
At 12/13/12 05:31 PM, PhilDenger wrote: Does anyone know how to make a symbol get random angle every time you click on it?
Using AS2 (yeah I know I should be using AS3 but I like more the AS2).
Put this code on any movieclip or button:
on(release){
this._rotation=random(360)+1;
}
Put this code on any movieclip or button:
on(release){
this._rotation=random(360)+1;
}
Thanks, it was really useful.