Adobe Flash

Data Integration: Using XML for a Timesheet (Flash Professional Only)

This tutorial shows you how to 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.

In this tutorial, you will complete the following tasks:

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 the stand-alone 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 Flash Help.


For this tutorial, you will need to the data.xml file provided in the Tutorial Assets folder. This file can be found in one of the following locations:

  • In Windows, browse to boot drive \Program Files\ Macromedia\ Flash 8\Samples and Tutorials\Tutorial Assets\Data Integration\ Using XML for a Timesheet\data.xml.

  • On the Macintosh, browse to Macintosh HD /Applications/ Macromedia Flash 8/Samples and Tutorials/Tutorial Assets/ Data Integration/Using XML for a Timesheet/data.xml.

Note

For demonstration purposes, you will access the XML data from your hard disk and display the DeltaPacket property within your screen. In the real world, the XUpdate would be sent to the server for processing.