SWiSH Player Support
SWF4 or later - Supported Internally
Syntax
spritename._rotation
spritename._rotation = value;
Arguments
spritename is the name of Sprite / Movie Clip or Object.
value is the new rotation angle in degrees. Positive angle indicates clockwise rotation.
Returns
Rotation angle in degrees. Positive angle indicates clockwise rotation.
Description
Sets / Returns the current rotation angle of the Sprite or Object. This angle is specified in degrees.
Sample
_root.rect._rotation += 10; // rotate rect Object 10 degrees clockwise.
Physics Properties are also supported for this property.