User Guide

246 Data binding classes (Flash Professional only)
Constructor for the TypedValue class
Availability
Flash Player 6 (6.0.79.0).
Usage
new mx.data.binding.TypedValue(value, typeName, [type])
Parameters
value A data value of any type.
typeName A string that contains the name of the values data type.
type An optional Schema object that describes in more detail the schema of the data. This
field is required only in certain circumstances, such as when setting data into a DataSet
component’s
dataProvider property.
Description
Constructor; creates a new TypedValue object.
TypedValue.type
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
typedValueObject.type
Description
Property; contains the schema associated with the TypedValue object’s value.
Example
This example displays null in the Output panel:
var t: TypedValue = new TypedValue (true, "Boolean", null);
trace(t.type);