User Guide

DataSet.setIterator() 405
DataSet.selectedIndex
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
dataSetInstance.selectedIndex
Description
Property; specifies the selected index in the collection. You can bind this property to the
selected item in a DataGrid or List component, and vice versa. For a complete example that
demonstrates this, see “Creating an application with the DataSet component” on page 333.
Example
The following example sets the selected index of a DataSet object (user_ds) to the selected
index in a DataGrid component (
user_dg).
user_ds.selectedIndex = user_dg.selectedIndex;
DataSet.setIterator()
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
dataSetInstance.setIterator(iterator)
Parameters
iterator An iterator object returned by a call to DataSet.getIterator().
Returns
Nothing.