Extending Flash |
|
|
|
| Objects > Document object > document.timelines | |||
Flash MX 2004.
document.timelines
Read-only property; an array of Timeline objects (see Timeline object).
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;
}
document.currentTimeline, document.getTimeline()
|
|
|
|