ActionScript 2.0 Components Language Reference |
|
|
|
| XUpdateResolver component > XUpdateResolver.deltaPacket | |||
Flash Player 7.
Flash MX Professional 2004.
resolveData.deltaPacket
Property; contains a description of the changes to the DataSet component. This property is of type deltaPacket and receives a delta packet to be translated into an XUpdate packet, and outputs a delta packet from any server results placed in the updateResults property. This property provides a way for you to make custom modifications to the XML before sending the updated data to a connector.
Messages in the updateResults property are treated as errors. This means that a delta with 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.
The DataSet component's deltaPacket property should be bound to this property so that when DataSet.applyUpdates() is called, the binding copies it across and the resolver creates the XUpdate packet.
|
|
|
|