User Guide

DeltaPacket.logChanges() 485
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");
}