EasyManua.ls Logo

MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE - Rotation

MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE
162 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
_rotation 55
Description
Property; the instance name of the movie clip that my_mc specifies. It applies only to movie
clips and not to the main timeline.
Example
The following example displays the name of the bigRose movie clip in the Output panel as
a string:
trace(bigRose:_name);
_rotation
Availability
Flash Lite 1.0.
Usage
my_mc:_rotation
Description
Property; the rotation of the movie clip, in degrees, from its original orientation. Values from
0 to 180 represent clockwise rotation; values from 0 to -180 represent counterclockwise
rotation. Values outside this range are added to or subtracted from 360 to obtain a value
within the range. For example, the statement
my_mc:_rotation = 450 is the same as
my_mc:_rotation = 90.
Example
The following example rotates the my_mc movie clip 15 degrees clockwise when the user
presses the 2 key:
on (keyPress "2") {
my_mc:_rotation += 15;
}

Table of Contents

Related product manuals