User Guide
470 Objects
Property summary for the Timeline object
The following methods are available for the Timeline object.
timeline.addMotionGuide()
Availability
Flash MX 2004.
Usage
timeline.addMotionGuide()
Parameters
None.
timeline.setSelectedFrames() Selects a range of frames in the current layer or sets
the selected frames to the selection array passed into
this method.
timeline.setSelectedLayers() Sets the layer to be selected; also makes the specified
layer the current layer.
timeline.showLayerMasking() Shows the layer masking during authoring by locking
the mask and masked layers.
Property Description
timeline.currentFrame A zero-based index for the frame at the current
playhead location.
timeline.currentLayer A zero-based index for the currently active layer.
timeline.frameCount Read-only; an integer that represents the number of
frames in this timeline’s longest layer.
timeline.layerCount Read-only; an integer that represents the number of
layers in the specified timeline.
timeline.layers Read-only; an array of layer objects.
timeline.name A string that represents the name of the current
timeline.
Method Description