User Guide

234 Data binding classes (Flash Professional only)
Method summary for the DataType class
The following table lists the methods of the DataType class.
Property summary for the DataType class
The following table lists the properties of the DataType class.
DataType.encoder
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Method Description
DataType.getAnyTypedValue() Fetches the current value of the field.
DataType.getAsBoolean() Fetches the current value of the field as a Boolean value.
DataType.getAsNumber() Fetches the current value of the field as a number.
DataType.getAsString() Fetches the current value of the field as a String value.
DataType.getTypedValue() Fetches the current value of the field in the form of the
requested data type.
DataType.setAnyTypedValue() Sets a new value in the field.
DataType.setAsBoolean() Sets the field to the new value, which is given as a Boolean
value.
DataType.setAsNumber() Sets the field to the new value, which is given as a number.
DataType.setAsString() Sets the field to the new value, which is given as a string.
DataType.setTypedValue() Sets a new value in the field.
Property Description
DataType.encoder Provides a reference to the encoder object associated with
this field.
DataType.formatter Provides a reference to the formatter object associated with
this field.
DataType.kind Provides a reference to the Kind object associated with this
field.