User Guide

204 Chapter 3: Objects
item.linkageClassName
Availability
Flash MX 2004.
Usage
item.linkageClassName
Description
Property; a string that specifies the ActionScript 2.0 class that will be associated with the symbol.
For this property to be defined, the
item.linkageExportForAS and/or
item.linkageExportForRS properties must be set to true, and the item.linkageImportForRS
property must be set to
false.
Example
The following example specifies that the ActionScript 2.0 class name associated with the first item
in the Library is myClass:
fl.getDocumentDOM().library.items[0].linkageClassName = "myClass";
item.linkageExportForAS
Availability
Flash MX 2004.
Usage
item.linkageExportForAS
Description
Property; a Boolean value. If true, the item is exported for ActionScript. You can also set the
item.linkageExportForRS and item.linkageExportInFirstFrame properties to true. The
item.linkageImportForRS property must be set to false if this property is set to true.
Example
The following example sets this property for the specified library item:
fl.getDocumentDOM().library.items[0].linkageExportForAS = true;
item.linkageExportForRS
Availability
Flash MX 2004.
Usage
item.linkageExportForRS