Transferobject.getpropertydata() - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

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

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