Groups | Blog | Home
all groups > flash (macromedia) > november 2005 >

flash (macromedia) : Rotation Center


Shwaza
11/19/2005 9:47:38 PM
Hi, I have a button that I wish to rotate 10 degrees everytime a function is
run. I have that all working fine, however it rotates around the top left
corner, as opposed to the center. I would like it to rotate like it is spinning
(it's circular) is there any way I can set the rotation center for it to do
that?

Thanks
pong_gr
11/19/2005 9:52:55 PM
When creating the button you should set its registration to the center. Else
you could just move the content of the button symbol so that they are centered
on the top left corner.

A question to others. Is there a way to change the registration point AFTER
the symbol is created???

Cheers
Vasilis
Shwaza
11/19/2005 11:48:25 PM
Ahh, thank you very much! That worked like a charm :D

Rothrock
11/20/2005 12:42:33 AM
When you edit a symbol in the library (by double clicking on it in the library
panel) you will get a small cross on the screen. This represents the
registration point. So you just need to move the art around. You can use the
align panel to help you center things.

Also just yesterday there was code posted (I think in the actionscript forum)
on how to use code to rotate about any point.
AddThis Social Bookmark Button