![MACROMEDIA FLASH MX 2004-DATA Tutorials Manual Download Page 17](http://html1.mh-extra.com/html/macromedia/flash-mx-2004-data/flash-mx-2004-data_tutorials-manual_3376209017.webp)
17
XUpdate Tutorial: Update the Timesheet
(Flash Professional Only)
Prerequisite:
“XML Tutorial: Timesheet (Flash Professional Only)”
This tutorial starts where the XML tutorial: Timesheet left off. Now that the DataSet component
is managing the Data, it is tracking changes that are made to the data into the DeltaPacket. 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 will complete the following task:
•
“Update the timesheet” on page 18
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 in no way implies 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 the “Data Integration” chapter in
Using Flash
(in Flash, select Help > Using Flash).
For this tutorial, you will need to download the Data Tutorials ZIP file from
www.macromedia.com/go/flmx2004_data_tutorials. The ZIP file contains the data.xml file that
you use in the tutorial.
If you have trouble downloading or decompressing the files, see TechNote 13686 at
www.macromedia.com/support/general/ts/documents/downfiles.htm.
Note:
For demonstration purposes, you will access the XML data from your hard disk and display
the DeltaPacket within your screen. In the real world, the XUpdate would be sent to the server
for processing.
Summary of Contents for FLASH MX 2004-DATA
Page 1: ...Data Tutorials...
Page 4: ...4 Contents...
Page 20: ...20 XUpdate Tutorial Update the Timesheet Flash Professional Only...