Example
The following example calls the
while(dpCursor.hasNext()) {
dpDelta = Delta(dpCursor.next());
op=dpDelta.getOperation();
trace("DeltaPacket source is: " + dpDelta.getDeltaPacket().getSource());
switch(op) {
case mx.data.components.datasetclasses.DeltaPacketConsts.Added:
trace("***In case DeltaPacketConsts.Added ***");
case mx.data.components.datasetclasses.DeltaPacketConsts.Modified: {
trace("***In case DeltaPacketConsts.Modified ***");
}
}
Delta.getSource()
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
delta.getSource()
Parameters
None.
Returns
The transfer object on which the changes were performed.
Description
Method; returns the transfer object on which the changes were performed.
476
Delta interface (Flash Professional only)
method:
getOperation()
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?