Using ActionScript 2.0 Components |
|
|
|
| Creating an Application with Components > Bind data components to display gift ideas | |||
In the beginning of the tutorial, you added instances of the DataGrid, DataSet, and XMLConnector components to the Stage. You set the URL property for the XMLConnector instance, named products_xmlcon, to the location of an XML file containing product information for the Gift Ideas section of the application.
Now you will use data binding features in the Flash authoring environment to bind the XMLConnector, DataSet, and DataGrid components together to use the XML data in the application.
When you bind the components, the DataSet component filters the list of products in the XML file according to the severity of the offense that the user selects in the What Did You Do? section. The DataGrid component will display the list.
|
|
|
|