User Guide
Delta.getDeltaPacket() 471
Parameters
None.
Returns
An array of associated DeltaItem instances.
Description
Method; returns an array of associated DeltaItem instances. Each DeltaItem instance in the
array describes a change made to the item.
Example
The following example calls the getChangeList() method.:
//...
case mx.data.components.datasetclasses.DeltaPacketConsts.Modified: {
// dpDelta is a variable of type Delta.
var changes:Array = dpDelta.getChangeList();
for(var i:Number = 0; i<changes.length; i++) {
// getChangeMessage is a user-defined method.
changeMsg = _parent.getChangeMessage(changes[i]);
trace(changeMsg);
}
//...
Delta.getDeltaPacket()
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
delta.getDeltaPacket()
Parameters
None.
Returns
The delta packet that contains this delta.