User Guide

240 Chapter 6: Components Dictionary
DataType.getTypedValue()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
dataTypeObject.getTypedValue(requestedType)
Parameters
requestedType
A string containing the name of a data type, or null.
Returns
A TypedValue object (see TypedValue class (Flash Professional only)” on page 244).
Description
Method; returns the value of the field in the specified form, if the field can provide its value in
that form. If the field cannot provide its value in the requested form, the method returns
null.
If
null is specified as requestedType, the method returns the value of the field in its default
type.
Example
The following example returns the value of the field converted to the Boolean data type. This is
stored in the
bool variable.
var bool:TypedValue = field.getTypedValue("Boolean");
DataType.kind
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
dataTypeObject.kind
Description
Property; provides a reference to the Kind object associated with this field. You can use this
property to access properties and methods of the Kind object.