Flash CS3 Documentation |
|||
| Extending Flash > Objects > Frame object | |||
Flash MX 2004.
The Frame object represents frames in the layer.
The following methods can be used with the Frame object:
|
Method |
Description |
|---|---|
|
Returns an array of JavaScript objects, each of which has an x and y property. |
|
|
Specifies a cubic Bézier curve to be used as a custom ease curve. |
The following properties can be used with the Frame object:
|
Property |
Description |
|---|---|
|
A string representing ActionScript code. |
|
|
Read-only; an integer that represents the number of frames in a frame sequence. |
|
|
Read-only; an array of Element objects (see Element object). |
|
|
A Boolean value that specifies whether the frame gets its ease information from the custom ease curve. |
|
|
A string that specifies the type of Frame name. |
|
|
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. |
|
|
A string that specifies how the tweened element rotates. |
|
|
An integer that specifies the number of times the tweened element rotates between the starting keyframe and the next keyframe. |
|
|
A Boolean value; specifies whether the tweened element scales to the size of the object in the following keyframe, increasing its size with each frame in the tween ( |
|
|
A Boolean value; specifies whether the tweened element automatically snaps to the nearest point on the motion guide layer associated with this frame's layer ( |
|
|
A Boolean value; if set to |
|
|
A string that specifies the name of the frame. |
|
|
A string that specifies how a shape tween is blended between the shape in the keyframe at the start of the tween and the shape in the following keyframe. |
|
|
A string that specifies effects for a sound that is attached directly to a frame (frame.soundLibraryItem). |
|
|
A library item (see SoundItem object) used to create a sound. |
|
|
An integer value that specifies the number of times a sound that is attached directly to a frame (frame.soundLibraryItem) plays. |
|
|
A string that specifies whether a sound that is attached directly to a frame (frame.soundLibraryItem) should play a specific number of times or loop indefinitely. |
|
|
A string that specifies the name of a sound that is attached directly to a frame (frame.soundLibraryItem), as stored in the library. |
|
|
A string that specifies the sync behavior of a sound that is attached directly to a frame (frame.soundLibraryItem). |
|
|
Read-only; the index of the first frame in a sequence. |
|
|
An integer that specifies the amount of easing that should be applied to the tweened object. |
|
|
A string that specifies the type of tween. |
|
|
A Boolean value that specifies whether a single custom ease curve is used for easing information for all properties. |
Flash CS3
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/9.0/main/00004205.html