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"
,
,
"font"
"sound"
"bitmap"
, you can determine the type of video; see
"video"
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.linkageExportForRS
item.linkageImportForRS
,
,
"component"
"movie clip"
,
"compiled clip"
item.linkageExportForAS
properties must be set to
property must be set to
,
,
"graphic"
,
, and
"screen"
"video"
videoItem.videoType
, and the
true
.
false
,
"button"
"folder"
. If this property is
.
and/or
Item object
299
,
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?