DataSet.itemClassName
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
dataSetInstance.itemClassName
Description
Property; a string indicating the name of the class that should be created when items are
added to the collection. The class you specify must implement the TransferObject interface,
shown below.
interface mx.data.to.TransferObject {
function clone():Object;
function getPropertyData():Object;
function setPropertyData(propData:Object):Void;
}
You can also set this property in the Property inspector.
To make the specified class available at runtime, you must also make a fully qualified reference
to this class somewhere in your SWF file's code, as in the following code snippet:
var myItem:my.package.myItem;
A
exception is thrown if you try to modify the value of this property after the
DataSetError
array has been loaded.
DataSet.items
For more information, see
DataSet.iteratorScrolled
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
378
Components Dictionary
"TransferObject interface" on page
1233.
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?
Questions and answers