Item object
303
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. 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
. You can specify a web
URL or a filename 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";
See also
item.linkageIdentifier
item.name
Availability
Flash MX 2004.
Usage
item.name
Description
Method; a string that specifies the name of the library item, which includes the folder
structure. For example, if Symbol_1 is inside a folder called Folder_1, the
name
property of
Symbol_1 is
"Folder_1/Symbol_1"
.
Example
The following example shows the name of the specified library item in the Output panel:
fl.trace(fl.getDocumentDOM().library.items[0].name);
Summary of Contents for FLASH 8-EXTENDING FLASH
Page 1: ...Extending Flash...
Page 38: ...38 Top Level Functions and Methods...
Page 532: ...532 Objects...
Page 554: ...554 C Level Extensibility...