Item.linkageexportinfirstframe, Item.linkageidentifier, Properties to – Adobe Extending Flash Professional CS5 User Manual
Page 338: An identifier, And a url
316
EXTENDING FLASH PROFESSIONAL
Item object
Last updated 5/2/2011
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
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
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