User Guide

206 Chapter 3: Objects
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 identif1ier (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;
item.linkageURL
Availability
Flash MX 2004.
Usage
item.linkageURL
Description
Property; a string that specifies the URL where the SWF file containing the shared asset is located.
Must be set when
item.linkageExportForRS or item.linkageImportForRS is set to true. You
can specify a web URL or a file name in platform-dependent format (that is, forward slashes (/) or
backward slashes (\), depending on the platform).
Example
The following example specifies a linkage URL for the specified library item:
fl.getDocumentDOM().library.items[0].linkageURL = "theShareSWF.swf";
item.name
Availability
Flash MX 2004.
Usage
item.name