User Guide
Frame object 273
Frame object
Availability
Flash MX 2004.
Description
The Frame object represents frames in the layer.
Method summary for the Frame object
The following methods can be used with the Frame object.
Property summary for the Frame object
The following properties can be used with the Frame object:
Method Description
frame.getCustomEase() Returns an array of JavaScript objects, each of which has
an x and y property.
frame.setCustomEase() Specifies a cubic Bézier curve to be used as a custom
ease curve.
Property Description
frame.actionScript A string representing ActionScript code.
frame.duration Read-only; an integer that represents the number of
frames in a frame sequence.
frame.elements Read-only; an array of Element objects (see Element
object).
frame.hasCustomEase A Boolean value that specifies whether the frame gets its
ease information from the custom ease curve.
frame.labelType A string that specifies the type of Frame name.
frame.motionTweenOrientToPath A Boolean value that specifies whether or not the
tweened element rotates the element as it moves along a
path to maintain its angle with respect to each point on the
path.
frame.motionTweenRotate A string that specifies how the tweened element rotates.
CHAPTER 20
Objects