Parameters
None.
Returns
A string.
Description
Method; fetches the current value of the field and converts it to String form, if necessary.
Example
In this example, a property named
that belongs to a component named
propName
is retrieved as a string and assigned to a variable:
myComponent
var dataTypeObj:mx.data.binding.DataType =
myComponent.getField("propName");
var propValue:String = dataTypeObj.getAsString();
See also
DataType.getAnyTypedValue()
DataType.getTypedValue()
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
dataTypeObject.getTypedValue(requestedType)
Parameters
A string containing the name of a data type, or
.
requestedType
null
Returns
A TypedValue object (see
"TypedValue class (Flash Professional only)" on page
245).
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
DataType.getTypedValue()
239
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?
Questions and answers