User Guide

SymbolItem object 435
symbolItem.timeline
Availability
Flash MX 2004.
Usage
symbolItem.timeline
Description
Read-only property; a Timeline object.
Example
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);