Deltapacket.getsource() - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

Example
The following example uses the
a delta packet and uses a
var deltapkt:DeltaPacket = _parent.myDataSet.deltaPacket;
trace("*** Test deltapacket. Trans ID is: " + deltapkt.getTransactionId() +
" ***");
var OPS:Array = new Array("added", "removed", "modified");
var dpCursor:Iterator = deltapkt.getIterator();
var dpDelta:Delta;
var op:Number;
var changeMsg:String;
while(dpCursor.hasNext()) {
dpDelta = Delta(dpCursor.next());
op=dpDelta.getOperation();
}

DeltaPacket.getSource()

Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
deltaPacket.getSource()
Parameters
None.
Returns
An object; the source of the DeltaPacket collection. This object is typically a descendant of
MovieClip, but this is not required. For example, if the source is a data set, this object might
be
_level0.myDataSet
Description
Method; returns the source of the DeltaPacket collection.
482
DeltaPacket interface (Flash Professional only)
getIterator()
statement to loop through the deltas:
while
.
method to access the iterator for the deltas in

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents