MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 346

Using components
Hide thumbs Also See for FLASH MX 2004-USING COMPONENTS:
Table of Contents

Advertisement

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
.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?

This manual is also suitable for:

Flash mx

Table of Contents