Specifications
287
26
CHAPTER 26
Data Integration: Using XUpdate
to
Update the Timesheet
(Flash
Professional Only)
Prerequisite: “Data Integration: Using XML for a Timesheet
(Flash Professional Only)”
This tutorial starts where the “Data Integration: Using XML for a
Timesheet (Flash Professional Only)” tutorial left off. Now that the
DataSet component is managing the data, it is tracking changes that are
made to the data into the
DeltaPacket property. A resolver is needed to
send the changes back to the server in an optimized way. The
XUpdateResolver component is the best choice for updating an XML
source, because it generates XUpdate statements that can be sent to the
server to update the data.
You can print this tutorial by downloading a PDF version of it from the
Macromedia Flash Documentation page at www.macromedia.com/go/
fl_documentation.
In this tutorial, you will complete the following task:
Update the timesheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .288
This tutorial uses a public web service and therefore requires that you have
an Internet connection. In addition, the tutorial won’t work in a browser
because of sandbox restrictions, but will work in the Flash authoring
environment or Flash Player.
NOTE
The use of a public web service in this tutorial does not imply that you
should use one for real-world applications. In fact, Macromedia does not
recommend using public web services directly from within any client-side
application. For more information, see “About data connectivity and
security in Flash Player” in Using Flash.