User Guide

1507
61
CHAPTER 61
XUpdateResolver component (Flash
Professional only)
Resolver components are used with the DataSet component (part of the data management
functionality in the Flash data architecture) to save changes to an external data source.
Resolvers take a
DataSet.deltaPacket object and convert it to an update packet in a format
appropriate to the type of resolver. The update packet can then be transmitted to the external
data source by one of the connector components. Resolver components have no visual
appearance at runtime.
For general information on how to manage data in Flash using the DataSet component, see
“Data management (Flash Professional only)” in Using Flash.
XUpdate is a standard for describing changes that are made to an XML document and is
supported by a variety of XML databases, such as Xindice and XHive. The XUpdateResolver
component translates the changes made to a DataSet component into XUpdate statements.
The updates from the XUpdateResolver component are sent in the form of an XUpdate data
packet, which is communicated to the database or server through a connection object. The
XUpdateResolver component gets a delta packet from a DataSet component, sends its own
update packet to a connector, receives server errors back from the connection, and
communicates them back to the DataSet component—all using bindable properties.
For information about the working draft of the XUpdate language specification, see http://
xmldb-org.sourceforge.net/xupdate/xupdate-wd.html. For information about the Flash data
architecture, see “Data resolution (Flash Professional only)” in Using Flash; for information
about resolving XML data, see “Resolving XML data with the XUpdateResolver component
(Flash Professional only)” in Using Flash.
NOTE
You can also use the XUpdateResolver component to send data updates to any external
data source that can parse the XUpdate language—for example, an ASP page, a Java
servlet, or a ColdFusion component.