You can create bindings that retrieve data from data models. For example, you can create a binding that retrieves employee information from a data model so that you can display the information in your MXML file.
For example, your file can have a Label component that will display an employee name received from the data model.
The Add Binding - Step 1 dialog box appears.
For example, if you want to retrieve an employee name from the data model, select the appropriate name property of the data model.
The Binding Source text box displays the binding expression Flex Builder will insert in the code. If you want you can modify the expression. For more information, see "Binding data" in Developing Flex Applications Help.
The Add Binding - Step 2 dialog box appears.
The destination can be the property of a component, a data service, or even another data model.
For example, if you have a Label component that you want to use to display the employee name, select the Label component in the left pane and then select the text:String property in the right pane.
The new binding appears in the Bindings panel.
For instructions, see Calling the data service.