document.timelines

Availability

Flash MX 2004.

Usage

document.timelines

Description

Read-only property; an array of Timeline objects (see Timeline object).

Example

The following example gets the array of current timelines in the active document and displays their names in the Output panel:

var i = 0;
var curTimelines = fl.getDocumentDOM().timelines;
while(i < fl.getDocumentDOM().timelines.length){
    alert(curTimelines[i].name);
    ++i;
} 

See also

document.currentTimeline, document.getTimeline()