MACROMEDIA FLASH 8-FLASH Specifications Page 288

  • Download
  • Add to my manuals
  • Print
  • Page
    / 290
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 287
288 Data Integration: Using XUpdate to Update the Timesheet (Flash Professional Only)
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
Update the timesheet
Now you will set up the bindings to allow the timesheet to be updated.
1. Begin with the file you created in the “Data Integration: Using XML for
a Timesheet (Flash Professional Only)” tutorial.
2. In the Components panel, open the Data category and drag an
XUpdateResolver component to the Stage.
3. In the Property inspector, enter the instance name timeInfo_rs.
4. Click the Schema tab in the Component inspector, and select the
deltaPacket component property within the Schema Tree pane.
5. Change the DeltaPacket component’s encoder setting to
DataSetDeltaToXUpdateDelta.
This encoder converts data within the DeltaPacket into XPath
statements that are supplied to the XUpdateResolver component, but it
needs additional information from you to do its job.
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.
Page view 287
1 2 ... 283 284 285 286 287 288 289 290

Comments to this Manuals

No comments