Example
The following example sets the schema of the data set
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
Example
The following example sets the selected index of a DataSet object (
index in a DataGrid component (
userData.selectedIndex = userGrid.selectedIndex;
DataSet.setIterator()
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
dataSet.setIterator(iterator)
Parameters
An iterator object returned by a call to
iterator
Returns
Nothing.
346
Chapter 6: Components Dictionary
myDataSet
).
userGrid
DataSet.getIterator()
to a new XML object
302.
) to the selected
userData
.
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?