Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 496 Bytes

File metadata and controls

20 lines (13 loc) · 496 Bytes

Library.unusedItems

Availability

Adobe Animate.

Description

Property; Item[]; An array of Library Items that are not used in the document. This is the equivalent of the "Select Unused Items" menu item in the Library panel.

Example

The following example illustrates the use of this property:

var items = fl.getDocumentDOM().library.unusedItems;
fl.trace("number of unused items found: " + items.length);
for (var i in items)
    fl.trace("" + items[i].name);