DataType.getAsString()

Availability

Flash Player 6 (6.0.79.0).

Edition

Flash MX Professional 2004.

Usage

dataTypeObject.getAsString()

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 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();

See also

DataType.getAnyTypedValue()


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/00002697.html