MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 489

Extending flash
Table of Contents

Advertisement

Description
Read-only property; an array of layer objects.
Example
The following example uses the
variable to store the array of layer objects in
currentLayers
the current document:
var currentLayers = fl.getDocumentDOM().getTimeline().layers;
timeline.name
Availability
Flash MX 2004.
Usage
timeline.name
Description
Property; a string that specifies the name of the current timeline. This name is the name of the
current scene, screen (slide or form), or symbol that is being edited.
Example
The following example retrieves the first scene name:
var sceneName = fl.getDocumentDOM().timelines[0].name;
The following example sets the first scene name to
:
FirstScene
fl.getDocumentDOM().timelines[0].name = "FirstScene";
timeline.pasteFrames()
Availability
Flash MX 2004.
Usage
timeline.pasteFrames([startFrameIndex [, endFrameIndex]])
Timeline object
489

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents