MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 909

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

Advertisement

Use the Bindings tab of the Component inspector to bind data elements (DataSet fields) to the
6.
visual components in your application.
Select the Schema tab of the XUpdateResolver component. With the
7.
property selected, use the Schema Attributes pane to set the
DataSetDeltaToXUpdateDelta encoder.
Select Encoder Options and enter the
8.
within the XML file.
Note: The
rowNodeKey
unique XPath statements should be generated for the update data contained within the delta
packet. See information on the DataSetDeltaToXUpdateDelta encoder in "Schema encoders" in
Using Flash.
Click the Bindings tab and create a binding between the XUpdateResolver component's
9.
deltaPacket
Create another binding from the
10.
component to send the data back to the external data source.
Note: The
xupdatePacket
will be sent to the server.
Add a trigger to initiate the data binding operation: use the Trigger Data Source behavior
11.
attached to a button, or add ActionScript.
In addition to these steps, you can also create bindings to apply the result packet sent back from
the server to the data set by the XUpdateResolver component.
For a step-by-step example that resolves data to an external data source using XUpdate, see
"Update the timesheet" in the Data Integration tutorials at
data_integration.
XUpdateResolver class (Flash Professional only)
Inheritance
MovieClip > XUpdateResolver
ActionScript Class Name
The properties and events of the XUpdateResolver class allow you to work with the DataSet
component to save changes to external data sources.
value combines an XPath statement with a field parameter to define how
property and the DataSet component's
xupdatePacket
property contains the formatted delta packet (XUpdate statements) that
mx.data.components.XUpdateResolver
value that uniquely identifies the row node
rowNodeKey
deltaPacket
property to the second XMLConnector
www.macromedia.com/go/
XUpdateResolver component (Flash Professional only)
deltaPacket
property to the
encoder
property.
component
909

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?

This manual is also suitable for:

Flash mx

Table of Contents