Flash CS3 Documentation |
|||
| ActionScript 2.0 Components Language Reference > Data binding classes > DataType.getTypedValue() | |||
Flash Player 6 (6.0.79.0).
Flash MX Professional 2004.
dataTypeObject.getTypedValue(requestedType)
requestedType A string containing the name of a data type, or null.
A TypedValue object (see TypedValue class).
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.
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");
Flash CS3
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/9.0/main/00002698.html