Delta.getoperation() - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

Description
Method; returns the associated message for this delta. Typically this message is only populated
if the delta packet has been returned from a server in response to attempted updates. For more
information, see
"RDBMSResolver component (Flash Professional only)" on page
Example
The following example calls the
//...
var dpi:Iterator = dp.getIterator();
var d:Delta;
while(dpi.hasNext()) {
d= dpi.next();
trace(d.getMessage());
}
//...

Delta.getOperation()

Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
delta.getOperation()
Parameters
None.
Returns
A number; returns the operation that was performed on the item within the original
collection.
Description
Method; returns the operation that was performed on this item within the original collection.
Valid values for this are
DeltaPacketConsts.Modified
You must either import mx.data.components.datasetclasses.DeltaPacketConsts or fully qualify
each constant.
getMessage()
DeltaPacketConsts.Added
.
method:
,
DeltaPacketConsts.Removed
1047.
, and
Delta.getOperation()
475

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