Extending Flash |
|
|
|
| Objects > Screen object > screen.timeline | |||
Flash MX 2004.
screen.timeline
Read-only property; the Timeline object for the screen.
The following example gets the screenOutline property of the current slide document, assigns the array of timeline properties for the first screen to myArray, and displays those properties in the Output panel:
myArray = new Array();
if(fl.getDocumentDOM().screenOutline) {
for(i in fl.getDocumentDOM().screenOutline.screens[0].timeline) {
myArray.push(" "+i+" : "+fl.getDocumentDOM().screenOutline.screens[0].timeline[i]+" ") ;
}
fl.trace("Here are the properties of the screen named "+ fl.getDocumentDOM().screenOutline.screens[0].name+": "+myArray);
}
|
|
|
|