User Guide

DataSet component (Flash Professional only) 315
Usage
dataSet.currentItem
Description
Property (read-only); returns the current item in the DataSet collection, or null if the collection
is empty or if the current iterator’s view of the collection is empty.
This property provides direct access to the item in the collection. Changes made by directly
accessing this object are not tracked (in the
DataSet.deltaPacket property), nor are any of the
schema settings applied to any properties of this object.
Example
The following example displays the value of the customerName property defined in the current
item in the data set named
customerData.
trace(customerData.currentItem.customerName);
DataSet.dataProvider
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
dataSet.dataProvider
Description
Property; the data provider for this data set. This property provides data to user interface controls,
such as the List and DataGrid components.
For more information about the DataProvider API, see “DataProvider API” on page 290.
Example
The following code assigns the dataProvider property of a DataSet object to the corresponding
property of a DataGrid component.
myGrid.dataProvider = myDataSet.dataProvider;
DataSet.deltaPacket
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
dataSet.deltaPacket