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
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);
}
that contains the properties
internalData
TransferObject.getPropertyData()
1235
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?
Questions and answers