MACROMEDIA FLASH MX 2004-USING FLASH Use Manual page 303

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

Advertisement

Predicate syntax to further specify nodes to be selected:
(child node syntax; selects all B nodes that have a C node as a child)
/B[C]
(attribute existence syntax; selects all B nodes that have an attribute named
/B[@id]
/B[@id="A1"]
value is A1)
Support for predicate comparison operators:
=
Support for Boolean
/B[@id=1 AND @customer="macromedia"]
Note: The following operators are not supported: "<", ">", "//".
To add a binding using path expressions:
In either the Add Binding dialog box or the Bound To dialog box, select Use path expression.
1.
Enter a path expression to identify the schema item to which you want to bind. Path expressions
2.
are entered in the following formats:
For properties that contain ActionScript data, the path follows this format:
field [.field]...
In this format,
For properties that contain XML data, the path follows this format:
XPath
In this format,
Click OK to return to the Bindings tab.
3.
Default data binding events
When you use the Bindings tab to create a binding between two components, the binding is
triggered by the default component event. If you want a binding to execute independently of the
default component event (which is predetermined by Flash), you must manually refresh the
binding with ActionScript code. For more information, see "ComponentMixins class (Flash
Professional only)" in Using Components (in particular, see the
ComponentMixins.refreshDestinations()
methods).
In general, for UI components, the
data bindings, such as
components, the
Server-side requirements for resolving XML data
This section describes requirements that your server code must fulfill when receiving results from
an XUpdateResolver component. It contains information relevant for the server administrator
who is handling server-side functions for your Flash application.
(attribute value syntax; selects all B nodes that have an
and
values in predicates:
AND
OR
is equal to the name of a field (such as
field
is a standard XPath statement (such as
XPath
change
TextInput.change
event triggers the binding, such as
result
and
ComponentMixins.refreshFromSources()
or
events are the default events used to trigger
click
,
,
Button.click
RadioButton.click
XMLConnector.result
Advanced topics in data integration
id
attribute whose
id
addresslist.street
addressList/street
. For connector
.
)
).
).
303

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents