Chapter 17: Deltaitem Class (Flash Professional Only) - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

CHAPTER 17
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()
zero or 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
mx.data.components.datasetclasses.DeltaItem
, which returns an iterator of deltas. Each delta contains
.
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.
Delta.getItemByName()
17
or
463

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