How do i set registrationpoint in center through code

petersego
petersego used Ask the Experts™
on
How do I set the registrationpoint through code to center for a movieclip that is created through code.
I need the registrationpoint to be centered to apply rotationY to get a flip-effect.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2009
Commented:
somebody built some custom function - never tried it so not sure how it works out.

http://flashscript.ca/set-registration-as3.php

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial