11
XML Tutorial: Timesheet
(Flash Professional Only)
In this tutorial, you will create an application for editing timesheet data. The timesheet data is
stored as XML within a native XML database. The XUpdateResolver component is the best
choice for this type of application, because it generates XUpdate statements that can be sent to the
server to update the data.
You will complete the following tasks:
•
“Create the user interface” on page 12
•
“Edit the data” on page 16
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 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 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.
Содержание FLASH MX 2004-DATA
Страница 1: ...Data Tutorials...
Страница 4: ...4 Contents...
Страница 20: ...20 XUpdate Tutorial Update the Timesheet Flash Professional Only...