| Package | fl.transitions |
| Class | public class Rotate |
| Inheritance | Rotate Transition EventDispatcher Object |
| Language Version : | ActionScript 3.0 |
| Runtime Versions : | AIR 1.0, Flash Player 9 |
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});
See also
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/transitions/Rotate.html