| Language Version : | ActionScript 3.0 |
| Player Version : | Flash Player 9 |
The Rotate class rotates the movie clip object. This effect requires the
following parameters:
ccw: A boolean value: false for clockwise rotation;
true for counter-clockwise rotation.
degrees: An integer that indicates the number of degrees the object is to be rotated. The recommended range is 1 to 9999. For example, a degrees setting of 1080 would rotate the object completely three times.
For example, the following code uses the Rotate transition for the movie clip
instance img1_mc:
import fl.transitions.*;
import fl.transitions.easing.*;
TransitionManager.start(img1_mc, {type:Rotate, direction:Transition.IN, duration:3, easing:Strong.easeInOut, ccw:false, degrees:720});