Adobe Extending Flash Professional CS5 User Manual
Page 456
Advertising

434
EXTENDING FLASH PROFESSIONAL
SymbolItem object
Last updated 5/2/2011
Description
Read-only property; a
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);
Advertising
This manual is related to the following products: