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

Flash lite 1.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

Description
Property; the instance name of the movie clip that
specifies. It applies only to movie
my_mc
clips and not to the main timeline.
Example
The following example displays the name of the
movie clip in the Output panel as
bigRose
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
is the same as
my_mc:_rotation = 450
.
my_mc:_rotation = 90
Example
The following example rotates the
movie clip 15 degrees clockwise when the user
my_mc
presses the 2 key:
on (keyPress "2") {
my_mc:_rotation += 15;
}
_rotation
55

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Table of Contents