_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:_ro= 15;
}
Summary of Contents for FLASH 8-FLASH
Page 1: ...Flash Lite 1 x ActionScript Language Reference...
Page 6: ...6 Contents...
Page 46: ...46 Flash Lite Global Functions...
Page 62: ...62 Flash Lite Properties...
Page 76: ...76 Flash Lite Statements...
Page 110: ...110 Flash Lite Operators...
Page 162: ...162 Index...