MACROMEDIA FLASH MX 2004-USING FLASH Use Manual page 302

Hide thumbs Also See for FLASH MX 2004-USING FLASH:
Table of Contents

Advertisement

The solution is to create a new schema field under the object within the Bird array. The new
schema field is named
statement that points to the data in your XML file. In this case the XPath expression would be
. When you get to the second bullet in the above process, data binding finds an
key/@id
field for the object. It looks at the
correct data from the XML file. The correct data is then passed to the DataSet component.
Adding bindings using path expressions
You can use path expressions for data binding in two areas:
In the Add Binding dialog, to identify the field you are binding to
In the Bound To dialog box, to identify the field you're binding from.
The following XPath expressions are supported:
Absolute paths:
/A/B/C
Relative paths:
A/B/C
Node selection using node name or wildcard:
(node selection by name)
/A/B/C
(node selection of all child nodes of /A/B by wildcard)
/A/B/*
(node selection of all C nodes that have exactly two ancestors)
/*/*/C
302
Chapter 14: Data Integration (Flash Professional Only)
. Every schema field has a property called
id
property and uses the XPath statement to get the
path
that accepts an XPath
path
id

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents