User Guide
DataSet.resolveDelta 401
DataSet.resolveDelta
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
Usage 1:
var listenerObject:Object = new Object();
listenerObject.resolveDelta = function (eventObj:Object):Void {
// ...
};
dataSetInstance.addEventListener("resolveDelta", listenerObject);
Usage 2:
on (resolveDelta) {
// ...
}
Description
Event; broadcast when DataSet.deltaPacket is assigned a delta packet whose transaction
ID matches that of a delta packet previously retrieved from the DataSet object, and that has
messages associated with any of the deltas or DeltaItem objects contained by that delta packet.
This event gives you the chance to reconcile any error returned from the server while
attempting to apply changes previously submitted. Typically, you use this event to display a
“reconcile dialog box” with the conflicting values, allowing the user to make appropriate
modifications to the data so that it can be re-sent.
The event object (
eventObj) contains the following properties:
target The DataSet object that generated the event.
type The string "resolveDelta".
data An array of deltas and associated DeltaItem objects that have nonzero length messages.