To create an indexed binding:
1.
If you haven't already done so, create the example application shown in
application" on page
2.
Drag a TextArea component to the Stage and name it
3.
Select the
xmlConn
description:String
Notice that on the Bindings tab, the attribute
as shown in the following image; you'll fill in this value in a later step.
4.
With the
results:dinner_menu:food.[n].description:String
Bindings tab, click Bound To, click the magnifying glass icon, select
select the
text:string
The text area will be populated by the
Next, you define the index value for the
item in the data grid, the correct description populates the text box.
408
Data Integration (Flash Professional Only)
391.
instance, click the Bindings tab, click the + symbol, and select the
property, which is in the
property.
description
food
myTextArea
array.
food
Index for 'food'
property of the
array, so that when the user clicks a different
"Creating a simple
.
is dynamically added,
field selected on the
, and
myTextArea
array.
food
Need help?
Do you have a question about the FLASH 8-USING FLASH and is the answer not in the manual?
Questions and answers