![MACROMEDIA FLEX BUILDER-USING FLEX BUILDER Use Manual Download Page 141](http://html1.mh-extra.com/html/macromedia/flex-builder-using-flex-builder/flex-builder-using-flex-builder_use-manual_3390082141.webp)
Working with Flex data services
141
6.
Select the source of the data passed to the data service.
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.
7.
Click Finish to create the binding.
The new binding appears in the Bindings panel.
8.
Create an event handler to call the data service.
You can create this event handler rapidly with Flex Builder. For instructions, see
“Calling the
data service” on page 141
.
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.
Summary of Contents for FLEX BUILDER-USING FLEX BUILDER
Page 1: ...Using Flex Builder...
Page 116: ...116 Chapter 4 Building a Flex User Interface Visually...
Page 144: ...144 Chapter 6 Working with Data...
Page 154: ...154 Appendix A Basic Flex Concepts...