DataType.getTypedValue()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
dataTypeObject.getTypedValue(requestedType)
Parameters
requestedType
Returns
A TypedValue object (see
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
If
is specified as
null
type.
Example
The following example returns the value of the field converted to the Boolean data type. This is
stored in the
bool
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.
240
Chapter 6: Components Dictionary
A string containing the name of a data type, or
"TypedValue class (Flash Professional only)" on page
, the method returns the value of the field in its default
requestedType
variable.
.
null
244).
.
null
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?