User Guide

200 Chapter 3: Objects
Example
The following example changes the selected symbol to refer to the first item in the library:
fl.getDocumentDOM().selection[0].libraryItem =
fl.getDocumentDOM().library.items[0];