Groups | Blog | Home
all groups > flash (macromedia) > february 2004 >

flash (macromedia) : Rotate????


abeall
2/21/2004 9:06:30 PM
check out Symbol: Movie Clip in you F1 user reference. A movie clip has it's
own timeline, so you could have the MC's timeline have a rotating object, then
you move the MC around on the main timeline.

HTH
kit_hoffman
2/21/2004 9:19:37 PM
to make an object rotate...
Put the below script on the main timeline

_root.yourObject._rotation += speed; //this is counter clockwise rotation.
_root.yourObject._rotation -= speed; //this is clockwise rotation.

OR...

put the below script in you MovieClip

this._rotation += speed; //this is counter clockwise rotation.
this._rotation -= speed; //this is clockwise rotation.

PS: if your not familliar with AS, "speed" can be a number like 5, and
"yourObject" is the name of the object to be rotated. I hope this helps
Morten
2/21/2004 9:43:21 PM
How can I apply constant rotation on a object in a layer???? I want it to
spinn around while moving!

Anybody?

AddThis Social Bookmark Button