Help!11

How do i make an object rotate?[SIZE=3]15[/SIZE]

im not sure how to make an object rotate 15 :P, but to make a movie clip rotate, add the following code to a frame on your timeline:

(where myClip is the instance name of your movie clip)

[AS]myClip.onEnterFrame = function() {
turnSpeed = 2;
this._rotation += turnSpeed;
};[/AS]

next time, use the nifty little search button to find out if your question has been asked before. it’s lonely… it wants to be pressed…

an easier way to that would be something like this:


myClip._rotation = myClip._rotation + 1;

or any speed you want the higher the faster it will spin:nerd: