Movieclip._Rotation - MACROMEDIA FLASH MX 2004-ACTIONSCRIPT LANGUAGE Reference

Actionscript language reference
Table of Contents

Advertisement

MovieClip._rotation

Availability
Flash Player 4.
Usage
my_mc._rotation:Number
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
Example
The following example creates a movie clip instance dynamically, rotates, and loads an image into
the instance.
this.createEmptyMovieClip("image_mc", 1);
image_mc._rotation = 15;
image_mc.loadMovie("http://www.macromedia.com/devnet/mx/blueprint/articles/
nielsen/spotlight_jnielsen.jpg");
See also
Button._rotation,
576
Chapter 2: ActionScript Language Reference
my_mc._rotation = 450
TextField._rotation
is the same as
my_mc._rotation = 90
.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash mx

Table of Contents