Hullo…
I’m Redg Bohol and am new to Flash MX and action scripting.
Can anyone help me on how to rotate an image using action scripting.
Thank you.
Hullo…
I’m Redg Bohol and am new to Flash MX and action scripting.
Can anyone help me on how to rotate an image using action scripting.
Thank you.
The image should be a movie clip. Just add
myMovieClip.rotation = x;
where x is the number of degrees to rotate it. If you want it to constantly spin, try,
[AS]
onClipEvent(enterFrame){
this._rotation +=3;
}
[/AS]
Welcome to Kirupa!
Thanks for the help…
Would you mind breaking down the codes for me so that I can understand how it really works.
What I did was to just copy and paste it however I want to learn how it actually works… Just like the tutorials in this site where Kirupa breaks down the code to its elements and explain them.
Hope I’m not much of a bother.
Redg
:: Copyright KIRUPA 2024 //--