ActionScript 2.0 Components Language Reference |
|
|
|
| Data binding classes > DataType.getAsString() | |||
Flash Player 6 (6.0.79.0).
Flash MX Professional 2004.
dataTypeObject.getAsString()
None.
A string.
Method; fetches the current value of the field and converts it to String form, if necessary.
In this example, a property named propName that belongs to a component named myComponent is retrieved as a string and assigned to a variable:
var dataTypeObj:mx.data.binding.DataType = myComponent.getField("propName");
var propValue:String = dataTypeObj.getAsString();
|
|
|
|