Chapter 24: item object, Item object – Adobe Extending Flash Professional CS5 User Manual
Page 333
311
Last updated 5/2/2011
Chapter 24: Item object
Availability
Flash MX 2004.
Description
The Item object is an abstract base class. Anything in the library derives from Item. See also
Method summary
The following methods are available for the Item object:
Property summary
The following properties are available for the Item object:
Method
Description
Adds specified data to a library item.
Retrieves the value of the specified data.
Determines whether the library item has the named data.
Removes persistent data from the library item.
Property
Description
Read-only; a string that specifies the type of element.
A string that specifies the ActionScript 3.0 class that will be associated with
the symbol.
A string that specifies the ActionScript 2.0 class that will be associated with
the symbol.
A Boolean value. If
true
, the item is exported for ActionScript.
A Boolean value. If
true,
the item is exported for run-time sharing.
item.linkageExportInFirstFrame
A Boolean value. If
true
, the item is exported in the first frame.
A string that specifies the name Flash will use to identify the asset when
linking to the destination SWF file.
A Boolean value. If
true
, the item is imported for run-time sharing.
A string that specifies the URL where the SWF file containing the shared
asset is located.
A string that specifies the name of the library item, which includes the
folder structure.