View Full Version : Help!!!!!!!!11
alcapone172
May 21st, 2003, 09:35 PM
How do i make an object rotate?15
liam
May 21st, 2003, 09:48 PM
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)
myClip.onEnterFrame = function() {
turnSpeed = 2;
this._rotation += turnSpeed;
};
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...
oddin
May 25th, 2003, 09:11 AM
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:
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.