Search This Blog

Thursday, March 3, 2011

How to make an object spin in Flash CS4

One useful tool in Flash is the ability to make objects spin. It is a simple way to add some excitement to your animation. Just follow these simple steps.

1) Draw the image you want to spin. This can be anything from a car to a plain rectangle.
2) Using the free transform tool select the object.
3) Go to Modify then convert to symbol. Give the object a name and make sure you are converting it to a movie clip, not a button or graphic.
4) Double click on the object. This should bring you into the edit screen (aka underground). If you are in the underground, just under the timeline you should see scene 1 (or whatever else you have named it) with the name of the object to its right.
5) Select a frame on the underground timeline (not the first) and convert it to a keyframe.
6) Create a classic tween between the automatic keyframe on frame 1 and the newly created key frame.
7) On the timeline, click anywhere on the tween between the two keyframes. This should give you an option (or properties) panel.
8) On this panel, change rotation from automatic to either CW (clockwise) or CCW (counter-clockwise). You can also select the amount of times you want it to turn with the time specified by the keyframes.

To make sure it worked, press ctrl+enter to preview the animation. Your object should be spinning in the manner specified. If you want, you can add a button that will control the motion of the object, but that`s an explanation for another article.

No comments:

Post a Comment