User Guide

DeltaPacket interface (Flash Professional only) 405
Description
Method; returns the transaction ID for the delta packet. This unique identifier is used to group a
send/receive transaction for a delta packet. The data set uses this to determine if the delta packet
is part of the same transaction it originated with the
DataSet.applyUpdates() call.
Example
The following example calls the getTransactionId() method:
// ...
var deltapkt:DeltaPacket = _parent.myDataSet.deltaPacket;
trace("*** Trans ID is: " + deltapkt.getTransactionId() + " ***");
// ...
DeltaPacket.logChanges()
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
deltaPacket.logChanges()
Parameters
None.
Returns
A Boolean value; true if the consumer of the delta packet should log changes found in the delta
packet.
Description
Method; returns true if the consumer of this delta packet should log the changes it specifies. This
value is used mainly for communication of changes between data sets by means of shared objects
or from a server to a local data set. In both cases, the data set should not record the changes
specified.
Example
The following example calls the logChanges() method:
var deltapkt:DeltaPacket = _parent.myDataSet.deltaPacket;
if(deltapkt.logChanges()) {
trace("*** We need to log changes. ***");
}
else {
trace("*** We do not need to log changes");
}