User Guide

RDBMSResolver component (Flash Professional only) 643
RDBMSResolver.reconcileResults
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
resolveData.reconcileResults(eventObject)
Parameters
eventObject
Resolver event object; describes the event object used to compare two update
packets. This event object should contain the following properties:
Returns
Nothing.
Description
Event; broadcast by the RDBMSResolver component to compare two packets after results have
been received from the server and applied to the delta packet.
A single
updateResults packet can contain results of operations that were in the delta packet, as
well as information about updates performed by other clients. When a new update packet is
received, the operation results and database updates are split into two update packets and placed
separately in the
deltaPacket property. The reconcileResults event is broadcast just before
the delta packet containing the operation results is sent using data binding.
Example
The following example reconciles two update packets and returns and clears the updates on
success:
on (reconcileResults) {
// examine results
if(examine(updateResults))
myDataSet.purgeUpdates();
else
displayErrors(results);
}
RDBMSResolver.reconcileUpdates
Availability
Flash Player 7.
Property Description
target
Object; the resolver broadcasting this event.
type
String; the name of the event.