Frame.motiontweensync, Frame.name, Frame.setcustomease() – Adobe Extending Flash Professional CS4 User Manual
Page 306: Property
284
EXTENDING FLASH CS4 PROFESSIONAL
Frame object
frame.motionTweenSync
Availability
Flash MX 2004.
Usage
frame.motionTweenSync
Description
Property; a Boolean value that if set to
true
, synchronizes the animation of the tweened object with the main timeline.
Example
The following example specifies that tweened object should be synchronized with the timeline:
fl.getDocumentDOM().getTimeline().layers[0].frames[0].motionTweenSync = true;
frame.name
Availability
Flash MX 2004.
Usage
frame.name
Description
Property; a string that specifies the name of the frame.
Example
The following example sets the name of the first frame, top layer to
"First Frame"
and then stores the
name
value in
the
frameLabel
variable:
fl.getDocumentDOM().getTimeline().layers[0].frames[0].name = 'First Frame';
var frameLabel = fl.getDocumentDOM().getTimeline().layers[0].frames[0].name;
frame.setCustomEase()
Availability
Flash 8.
Usage
frame.setCustomEase(property, easeCurve)
Parameters
property
A string that specifies the property the ease curve should be used for. Acceptable values are
"all"
,
"position"
,
"rotation"
,
"scale"
,
"color"
, and
"filters"
.