Package | fl.transitions |
Class | public class Rotate |
Inheritance | Rotate Transition EventDispatcher Object |
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9, AIR 1.0 |
-
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 of1080
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});
Related API Elements
Public Properties
Public Methods
Public Constants
Thu Dec 6 2018, 01:12 PM -08:00