Tutorials, extensions, and source files for ActionScript, Flash, and other Adobe products.

 

Flash Source Files

Rotate Around Absolute Center

Posted August 11, 2004 by senocular

Version: Flash 5

ActionScript, sadly, does not allow you to alter the registration point (center point) of a movieclip. Normally, the way around this is to place said movieclip into another movieclip. This example shows how you can take a movieclip without placing it in another movieclip and still allow it to rotate around an absolute center point using the getBounds method.