Is it possible to set the registration point of MovieClip (or another display object) to the center when creating in AS3?
following
var myClip:MovieClip = new MovieClip();
sets the registration point myClip in the upper left corner by default. Using Flash CS4 to install it in the center is just a few clicks, so I wonder how I can perform the same action with only the code.
Mirko source
share