![MACROMEDIA FLASH 8-EXTENDING FLASH Manual Download Page 299](http://html1.mh-extra.com/html/macromedia/flash-8-extending-flash/flash-8-extending-flash_manual_3348049299.webp)
Item object
299
Example
The following example shows a message in the Output panel if the first item in the library
contains data point named myData:
if ( fl.getDocumentDOM().library.items[0].hasData( "myData" ) ){
fl.trace("Yep, it's there!");
}
item.itemType
Availability
Flash MX 2004.
Usage
item.itemType
Description
Read-only property; a string that specifies the type of element. The value is one of the
following:
"undefined"
,
"component"
,
"movie clip"
,
"graphic"
,
"button"
,
"folder"
,
"font"
,
"sound"
,
"bitmap"
,
"compiled clip"
,
"screen"
, and
"video"
. If this property is
"video"
, you can determine the type of video; see
videoItem.videoType
.
Example
The following example shows the type of the specified library item in the Output panel:
fl.trace(fl.getDocumentDOM().library.items[0].itemType);
item.linkageClassName
Availability
Flash MX 2004.
Usage
item.linkageClassName
Description
Property; a string that specifies the ActionScript 2.0 class that will be associated with the
symbol. For this property to be defined, the
item.linkageExportForAS
and/or
item.linkageExportForRS
properties must be set to
true
, and the
item.linkageImportForRS
property must be set to
false
.
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...