User Guide
346 Chapter 6: Components Dictionary
Example
The following example sets the schema of the data set myDataSet to a new XML object
containing appropriately formatted XML:
myDataSet.schema = new XML("<properties><property name="billable"> ..etc.. </
properties>");
DataSet.selectedIndex
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
dataSet.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 302.
Example
The following example sets the selected index of a DataSet object (userData) to the selected
index in a DataGrid component (
userGrid).
userData.selectedIndex = userGrid.selectedIndex;
DataSet.setIterator()
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
dataSet.setIterator(iterator)
Parameters
iterator
An iterator object returned by a call to DataSet.getIterator().
Returns
Nothing.