Frame.hascustomease, Frame.labeltype – Adobe Extending Flash Professional CS4 User Manual
Page 303

281
EXTENDING FLASH CS4 PROFESSIONAL
Frame object
Description
Method; returns an array of objects that represent the control points for the cubic Bézier curve that defines the ease
curve.
Example
The following example returns the custom ease value of the
position
property for the first frame in the top layer:
var theFrame = fl.getDocumentDOM().getTimeline().layers[0].frames[0]
var easeArray = theFrame.getCustomEase("position");
See also
,
,
frame.hasCustomEase
Availability
Flash 8.
Usage
frame.hasCustomEase
Description
Property; a Boolean value. If
true
, the frame gets its ease information from the custom ease curve. If
false
, the frame
gets its ease information from the ease value.
Example
The following example specifies that the first frame in the top layer should get its ease information from the ease value
rather than the custom ease curve:
var theFrame = fl.getDocumentDOM().getTimeline().layers[0].frames[0]
theFrame.hasCustomEase = false;
See also
frame.labelType
Availability
Flash MX 2004.
Usage
frame.labelType
Description
Property; a string that specifies the type of Frame name. Acceptable values are
"none"
,
"name"
,
"comment"
, and
"anchor"
. Setting a label to
"none"
clears the