MACROMEDIA FLEX BUILDER-USING FLEX BUILDER Use Manual page 141

Table of Contents

Advertisement

Select the source of the data passed to the data service.
6.
The source can be the property of a component or data model.
For example, if you have a TextInput component that lets users enter a zip code, select the
TextInput component in the left pane and then select the text:String property in the right
pane.
If you want, you can modify the binding expression in the Binding Source text box.
Click Finish to create the binding.
7.
The new binding appears in the Bindings panel.
Create an event handler to call the data service.
8.
You can create this event handler rapidly with Flex Builder. For instructions, see
data service" on page
Calling the data service
If you create a binding that passes data to, or retrieves data from, a data service, then you must
create an event handler that calls the data service. A component can call a data service such as a
web service only in response to an event. Otherwise, the data service is never invoked. You can
create this event handler rapidly with Flex Builder.
141.
Working with Flex data services
"Calling the
141

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flex builder

Table of Contents