DeltaItem class (Flash Professional only)
ActionScript Class Name
The DeltaItem class provides information about an individual operation performed on a transfer
object. It indicates whether a change was made directly to a property of the transfer object or
whether the change was made by a method call. It also provides the original state of properties on
a transfer object. For example, if the source of the delta packet was a data set, the DeltaItem object
contains information about any field that was edited.
In addition to the above, a DeltaItem object can contain server response information such as
current value and a message.
Use the DeltaItem class when accessing the changes in a delta packet. To access these changes, use
DeltaPacket.getIterator()
more DeltaItem instances, which you can access through
Delta.getChangeList()
Property summary for the DeltaItem class
The following table lists the properties of the DeltaItem class.
Property
DeltaItem.argList
DeltaItem.curValue
DeltaItem.delta
DeltaItem.kind
DeltaItem.message
DeltaItem.name
DeltaItem.newValue
DeltaItem.oldValue
DeltaItem.argList
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
mx.data.components.datasetclasses.DeltaItem
, which returns an iterator of deltas. Each delta contains zero or
.
Description
If a change is made through a method call, this is the array of
values that were passed to the method. This property is read-
only.
If a change is made to a property, this is the current server
value of the property. This property is read-only.
The associated delta for the DeltaItem object. This property is
read-only.
The type of change.
The server message associated with the DeltaItem object.
The name of the property or method that changed. This
property is read-only.
If a change was made to a property, this is the new value of the
property. This property is read-only.
If a change was made to a property, this is the old value of the
property. This property is read-only.
Components Dictionary
Delta.getItemByName()
DeltaItem class (Flash Professional only)
CHAPTER 6
or
397
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?
Questions and answers