MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 913

Using components
Hide thumbs Also See for FLASH MX 2004-USING COMPONENTS:
Table of Contents

Advertisement

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);
}
XUpdateResolver.updateResults
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
resolveData.updateResults
Description
Property; property of type
server using a connector. Use this property to transmit errors and updated data from the server to
a DataSet component—for example, when the server assigns new IDs for an auto-assigned field.
Bind this property to a connector's
and transmit the results back to the DataSet component.
Messages in the
messages is added to the delta packet again so it can be re-sent the next time the delta packet is
sent to the server. You must write code that handles deltas that have messages so that the messages
are presented to the user and the deltas can be modified before being added to the next delta
packet.
deltaPacket
results
property are treated as errors. This means that a delta with
updateResults
that contains the results of an update returned from the
property so that it can receive the results of an update
XUpdateResolver component (Flash Professional only)
913

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx

Table of Contents