MACROMEDIA FLEX BUILDER-USING FLEX BUILDER Use Manual page 138

Table of Contents

Advertisement

To create a binding that retrieves data from a data service:
Make sure your MXML file contains a component or data model that can accept the data from
1.
the data service.
For example, your file can have a Label component that will display a temperature received
from the data service.
In the Data panel, select the data service.
2.
To add a data service to the panel, see
on page
136.
In the Bindings panel (Window > Bindings), click the Plus (+) button.
3.
The Add Binding - Step 1 dialog box appears.
Select the second option ("Data Will Flow From") and then select the property of the data
4.
service to supply the data.
For example, if you want to retrieve weather data from a web service, select one of the service's
weather properties (for example, temperature) from the results returned by one of the web
service's methods.
138
Chapter 6: Working with Data
"Inserting a Flex data service in the MXML file"

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flex builder

Table of Contents