User Guide

RDBMSResolver component (Flash Professional only) 641
Returns
Nothing.
Description
Property; a property of type deltaPacket. It receives a delta packet to be translated into an
update packet, and outputs a delta packet from any server results placed in the
updateResults
property. This event handler 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 to handle 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.
Example
The following example adds the user authentication data to the XML packet:
on (beforeApplyUpdates) {
// add user authentication data
var userInfo = new XML(""+getUserId()+ ""+getPassword()+"");
updatePacket.firstChild.appendChild(userInfo);
}
RDBMSResolver.deltaPacket
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
resolveData.deltaPacket
Description
Property; a property of type deltaPacket. It receives a delta packet to be translated into an
update packet, and outputs a delta packet from any server results placed in the
updateResults
property.
type
String; the name of the event.
updatePacket
XML object; the XML object about to be applied.
Property Description