User Guide

Item object 205
Description
Property; a Boolean value. If true, the item is exported for runtime sharing. This property can be
set to
true only if item.linkageImportForRS is set to false. Also, the properties
item.linkageIdentifier and item.linkageURL must be defined.
Example
The following example sets this property for the specified library item:
fl.getDocumentDOM().library.items[0].linkageExportForRS = true;
item.linkageExportInFirstFrame
Availability
Flash MX 2004.
Usage
item.linkageExportInFirstFrame
Description
Property; a Boolean value. If true, the item is exported in the first frame; if false, the item is
exported on the frame of the first instance. If the item does not appear on the Stage, it isnt
exported.
This property can be set to
true only when item.linkageExportForAS and/or
item.linkageExportForRS are set to true.
Example
The following example specifies that the specified library item is exported in the first frame:
fl.getDocumentDOM().library.items[0].linkageExportInFirstFrame = true;
item.linkageIdentifier
Availability
Flash MX 2004.
Usage
item.linkageIdentifier
Description
Property; a string that specifies the name Flash will use to identify the asset when linking to the
destination SWF file. It must be specified if
item.linkageExportForAS and/or
item.linkageExportForRS are set to true.
Example
The following example specifies that the string my_mc will be used to identify the library item
when it is linked to the destination SWF file to which it is being exported:
fl.getDocumentDOM().library.items[0].linkageIdentifier = "my_mc";