Extending Flash |
|
|
|
| Objects > SymbolItem object > symbolItem.timeline | |||
Flash MX 2004.
symbolItem.timeline
Read-only property; a Timeline object.
The following example obtains and shows the number of layers that the selected movie clip in the library contains:
var tl = fl.getDocumentDOM().library.getSelectedItems()[0].timeline; alert(tl.layerCount);
|
|
|
|