MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 641

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

Advertisement

Property
type
updatePacket
Returns
Nothing.
Description
Property; a property of type
update packet, and outputs a delta packet from any server results placed in the
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
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
update packet, and outputs a delta packet from any server results placed in the
property.
Description
String; the name of the event.
XML object; the XML object about to be applied.
deltaPacket
property are treated as errors. This means that a delta with
updateResults
deltaPacket
. It receives a delta packet to be translated into an
. It receives a delta packet to be translated into an
RDBMSResolver component (Flash Professional only)
updateResults
updateResults
641

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

This manual is also suitable for:

Flash mx

Table of Contents