ActionScript 2.0 Components Language Reference |
|
|
|
| Delta interface > Delta.getChangeList() | |||
Flash Player 7.
Flash MX Professional 2004.
delta.getChangeList()
None.
An array of associated DeltaItem instances.
Method; returns an array of associated DeltaItem instances. Each DeltaItem instance in the array describes a change made to the item.
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);
}
//...
|
|
|
|