MACROMEDIA FLASH 8-USING FLASH Use Manual page 447

Using flash
Table of Contents

Advertisement

To add a binding using path expressions:
1.
In either the Add Binding dialog box or the Bound To dialog box, select Use path
expression.
2.
Enter a path expression to identify the schema item to which you want to bind. Path
expressions 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,
3.
Click OK to return to the Bindings tab.
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 the Components Language Reference (in particular, see the
ComponentMixins.refreshDestinations()
ComponentMixins.refreshFromSources()
In general, for UI components, the
trigger data bindings, such as
connector components, the
XMLConnector.result
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.
After the server finishes with the update packet, either successfully or unsuccessfully, it should
send back to your Flash application a results packet containing errors or additional XML
updates resulting from the update operation. If there are no messages, the results packet
should still be sent, but it will have no operation result nodes.
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
methods).
or
events are the default events used to
click
,
Button.click
Advanced topics in data integration
addresslist.street
addressList/street
,
RadioButton.click
).
).
. For
447

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents