Delta.getDeltaPacket()

Availability

Flash Player 7.

Edition

Flash MX Professional 2004.

Usage

delta.getDeltaPacket()

Parameters

None.

Returns

The delta packet that contains this delta.

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 getDeltaPacket() method to access the delta packet's data source:

while(dpCursor.hasNext()) {
    dpDelta = Delta(dpCursor.next());
    trace("DeltaPacket source is: " + dpDelta.getDeltaPacket().getSource());
}