User Guide

479
19
CHAPTER 19
DeltaPacket interface (Flash
Professional only)
ActionScript Interface Name mx.data.components.datasetclasses.DeltaPacket
The DeltaPacket interface is provided by the
deltaPacket property of the DataSet
component, which is part of the data management functionality in Flash MX Professional
2004. (For more information, see Chapter 16, “Data Integration (Flash Professional Only),
in Using Flash). Typically the delta packet is used internally by resolver components.The
DeltaPacket interface and the related Delta interface and DeltaItem class let you manage
changes made to the data. These components have no visual appearance at runtime.
A delta packet is an optimized set of instructions that describe all changes that have been
made to the data in a data set. When the
DataSet.applyUpdates() method is called, the
DataSet component populates the
DataSet.deltaPacket property. Typically, this property is
connected (by data binding) to a resolver component such as RDBMSResolver. The resolver
converts the delta packet into an update packet in the appropriate format.
A delta packet contains one or more deltas (see “Delta interface (Flash Professional only)”
on page 469), and each delta contains zero or more delta items (see “DeltaItem class (Flash
Professional only)” on page 463).
NOTE
Unless you are writing your own custom resolver, it is unlikely you will ever need to know
about or write code that accesses methods or properties of a
delta packet.