XUpdateResolver.reconcileResults

Availability

Flash Player 7.

Edition

Flash MX Professional 2004.

Usage

resolveData.reconcileResults(eventObject)

Parameters

eventObject ResolverEvent object; describes the event object used to compare two update packets. This event object should contain the following properties:

Property

Description

target

Object; the resolver generating this event.

type

String; the name of the event.

Returns

None.

Description

Event; called by the resolver component to compare two packets. Use this callback to insert any code after the results have been received from the server and immediately before the transmission, through data binding, of the delta packet that contains operation results. This is a good place to put code that handles messages from the server.

Example

The following example reconciles two update packets and clears the updates on success:

on (reconcileResults) {
         // Examine results.
         if(examine(updateResults))
           myDataSet.purgeUpdates();
         else
             displayErrors(results);
}