User Guide

302 Objects
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. Flash ignores this property if
item.linkageImportForRS,
item.linkageExportForAS, and item.linkageExportForRS are set to false. Conversely,
this property must be set when any of those properties 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";
See also
item.linkageURL
item.linkageImportForRS
Availability
Flash MX 2004.
Usage
item.linkageImportForRS
Description
Property; a Boolean value: if true, the item is imported for runtime sharing. If this property is
set to
true, both item.linkageExportForAS and item.linkageExportForRS must be set
to
false. Also, you must specify an identifier (item.linkageIdentifier) and a URL
(
item.linkageURL).
Example
The following example sets this property to true for the specified library item:
fl.getDocumentDOM().library.items[0].linkageImportForRS = true;