ActionScript 2.0 Components Language Reference |
|
|
|
| XUpdateResolver component > XUpdateResolver.reconcileResults | |||
Flash Player 7.
Flash MX Professional 2004.
resolveData.reconcileResults(eventObject)
eventObject ResolverEvent object; describes the event object used to compare two update packets. This event object should contain the following properties:
|
Property |
Description |
|---|---|
|
|
Object; the resolver generating this event. |
|
|
String; the name of the event. |
None.
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.
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);
}
|
|
|
|