User Guide
1054 RDBMSResolver component (Flash Professional only)
RDBMSResolver.beforeApplyUpdates
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
resolveData.beforeApplyUpdates(eventObject)
Parameters
eventObject Resolver event object; describes the customizations to the XML packet before
the update is sent though the connector to the database. This event object should contain the
following properties:
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.
Property Description
target
Object; the resolver producing this event.
type
String; the name of the event.
updatePacket
XML object; the XML object about to be applied.