Delta.getChangeList()

Availability

Flash Player 7.

Edition

Flash MX Professional 2004.

Usage

delta.getChangeList()

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);
    }
//...