TransferObject interface

ActionScript Class Name mx.data.to.TransferObject

The TransferObject interface defines a set of methods that items managed by the DataSet component must implement. The DataSet.itemClassName property specifies the name of the transfer object class that is instantiated each time a new item is needed. You can also specify this property for a selected DataSet component using the Property inspector.

NOTE

 

The TransferObject interface is supported only if you are working in a document that specifies ActionScript 2.0 in its Publish Settings.

Method summary for the TransferObject interface

The following table lists methods of the TransferObject interface.

Method

Description

TransferObject.clone()

Creates a new instance of the transfer object.

TransferObject.getPropertyData()

Returns the data for this transfer object.

TransferObject.setPropertyData()

Sets the data for this transfer object.


Flash CS3