User Guide

DataSet component (Flash Professional only) 329
DataSet.itemClassName
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
dataSet.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 DataSetError exception is thrown if you try to modify the value of this property after the
DataSet.items array has been loaded.
For more information, see “TransferObject interface” on page 756.
DataSet.iteratorScrolled
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
on(iteratorScrolled) {
// insert your code here
}
listenerObject = new Object();
listenerObject.iteratorScrolled = function (eventObj) {
// insert your code here
}
dataSet.addEventListener("iteratorScrolled", listenerObject)