ActionScript 2.0 Components Language Reference |
|
|
|
| Delta interface > Delta.addDeltaItem() | |||
Flash Player 7.
Flash MX Professional 2004.
delta.addDeltaItem(deltaitem)
deltaitem DeltaItem instance to add to this delta.
Nothing.
Method; adds the specified DeltaItem instance. If the specified DeltaItem instance already exists, this method replaces it.
The following example calls the addDeltaItem() method:
//...
var d:Delta = new DeltaImpl("ID1345678", curItem, DeltaPacketConsts.Added, "", false);
d.addDeltaItem(new DeltaItem(DeltaItem.Property, "ID", {oldValue:15, newValue:16}));
//...
|
|
|
|