User Guide

Frame object 279
frame.motionTweenRotate
Availability
Flash MX 2004.
Usage
frame.motionTweenRotate
Description
Property; a string that specifies how the tweened element rotates. Acceptable values are
"none", "auto", "clockwise", and "counter-clockwise". A value of "auto" means the
object will rotate in the direction requiring the least motion to match the rotation of the
object in the following keyframe.
If you want to specify a value for
frame.motionTweenOrientToPath, set this property to
"none".
Example
See frame.motionTweenRotateTimes.
frame.motionTweenRotateTimes
Availability
Flash MX 2004.
Usage
frame.motionTweenRotateTimes
Description
Property; an integer that specifies the number of times the tweened element rotates between
the starting keyframe and the next keyframe.
Example
The following example rotates the element in this frame counter-clockwise three times by the
time it reaches the next keyframe:
fl.getDocumentDOM().getTimeline().layers[0].frames[0].motionTweenRotate =
"counter-clockwise";
fl.getDocumentDOM().getTimeline().layers[0].frames[0].motionTweenRotateTime
s = 3;