
303
EXTENDING FLASH CS4 PROFESSIONAL
Item object
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 in the frame
of the first instance. If the item does not appear on the Stage, it isn’t 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.
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
Commenti su questo manuale