Parameters
eventObject
update is sent through the connector to the database. This event object should contain the
following properties:
Property
target
type
updatePacket
Returns
None.
Description
Event; called by the resolver component to make custom modifications immediately after the
XML packet has been created for a new delta packet, and immediately before that packet is sent
out using data binding. You can use this event handler to make custom modifications to the XML
before sending the updated data to a connector.
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()+"");
xupdatePacket.firstChild.appendChild(userInfo);
}
XUpdateResolver.deltaPacket
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
resolveData.deltaPacket
Description
Property; contains a description of the changes to the DataSet component. This property is of
type
deltaPacket
outputs a delta packet from any server results placed in the
property provides a way for you to make custom modifications to the XML before sending the
updated data to a connector.
Resolver event object; describes the customizations to the XML packet before the
and receives a delta packet to be translated into an XUpdate packet, and
Description
Object; the resolver generating this event.
String; the name of the event.
XML object; the XML object that is about to be applied.
updateResults
XUpdateResolver component (Flash Professional only)
property. This
911
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?