How do i set registrationpoint in center through code

petersego used Ask the Experts™
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.
Watch Question

Do more with

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

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