Example
The following example sets the name of the first frame in the top layer to
then sets its label to
fl.getDocumentDOM().getTimeline().layers[0].frames[0].name = 'First Frame';
fl.getDocumentDOM().getTimeline().layers[0].frames[0].labelType = 'comment';
frame.motionTweenOrientToPath
Availability
Flash MX 2004.
Usage
frame.motionTweenOrientToPath
Description
Property; a Boolean value; specifies whether the tweened element rotates the element as it moves
along a path to maintain its angle with respect to each point on the path (
not rotate (
false
If you want to specify a value for this property, you should set
.
"none"
frame.motionTweenRotate
Availability
Flash MX 2004.
Usage
frame.motionTweenRotate
Description
Property; a string that specifies how the tweened element rotates. Acceptable values are
,
"auto"
"clockwise"
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
.
"none"
Example
See
frame.motionTweenRotateTimes
188
Chapter 3: Objects
:
"comment"
).
, and
"counter-clockwise"
frame.motionTweenOrientToPath
.
true
frame.motionTweenRotate
. A value of
means the object will
"auto"
, set this property to
and
"First Frame"
) or whether it does
to
,
"none"
Need help?
Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?
Questions and answers