MACROMEDIA FLEX BUILDER-USING FLEX BUILDER Use Manual page 69

Table of Contents

Advertisement

With the To option selected, scroll down and select the
7.
default).
You want the
text
Specify the source of the data by clicking the Next button, and then selecting the name element
8.
of the dataModel data model, as follows:
Click Finish to create the binding.
9.
Bind the second Label control to the price data by repeating steps 5 through 9—select the
10.
control, clear the placeholder value for the
the destination property, and select the price element of the data model as the source property.
Repeat the procedure to bind the Text control to the description data, this time being careful
11.
to clear and bind to the
Bind the Image control by selecting the Image control, clearing the placeholder value for the
12.
property, starting a new binding, selecting
source
be selected by default), and selecting the image element in the data model as the source property.
Save the ProductDetail.mxml file.
13.
property to receive the product name data.
property instead of the
htmlText
Tutorial: Binding components to data with Flex Builder
property (it should be selected by
text
property, start a new binding, select
text
property.
text
as the destination property (it should
source
as
text
69

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flex builder

Table of Contents