You can not change the registration point of a DisplayObject. The Rotate Effect allows you to specify registration points. We use some Euclidean math and we adjust the x/y positions to accomplish this. You can either use the Rotate effect or copy the logic from the source code.

 

Jason

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Omar Ramos
Sent: Sunday, June 25, 2006 12:18 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Changing Components Registration Point Flex 2.0

 

Hi guys,

Is there a way to change the registration point of a image component? I want to be able to rotate the image from the center point but can not be done unless I change the Image component registration point to the center. Is there a way to do this in flex 2? Thanks



Omar Ramos

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to