Description
Method; returns the delta packet that contains this delta. This method lets you write code
that can handle delta packets generically at the delta level.
Example
The following example uses the
data source:
while(dpCursor.hasNext()) {
dpDelta = Delta(dpCursor.next());
trace("DeltaPacket source is: " + dpDelta.getDeltaPacket().getSource());
}
Delta.getId()
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
delta.getId()
Parameters
None.
Returns
An object; returns the unique ID of this item within the DeltaPacket collection.
Description
Method; returns a unique identifier for this item within the DeltaPacket collection. Use this
ID in the source component for the delta packet to receive updates and make changes to items
that the delta packet was generated from. For example, assuming that the DataSet component
sends updates to a server and the server returns new key field values, this method allows the
DataSet component to examine the resulting delta packet, find the original transfer object,
and make the appropriate updates to it.
472
Delta interface (Flash Professional only)
method to access the delta packet's
getDeltaPacket()
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?
Questions and answers