User Guide

TransferObject.getPropertyData() 1235
TransferObject.getPropertyData()
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
class itemClass implements mx.data.to.TransferObject {
function getPropertyData() {
// Your code here.
}
}
Parameters
None.
Returns
An object.
Description
Method; returns the data for this transfer object. The implementation of this method can
return an anonymous ActionScript object with properties and corresponding values.
Example
The following function returns an object named internalData that contains the properties
and their values from the Contact object:
class Contact implements mx.data.to.TransferObject {
function getPropertyData():Object {
var internalData:Object = {name:name, readOnly:_readOnly, phone:phone,
zip:zip.zipPlus4};
return(internalData);
}