User Guide
Data binding classes (Flash Professional only) 245
Property summary for the TypedValue class
The following table lists the properties of the TypedValue class.
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 value’s 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);
Property Description
TypedValue.type Contains the schema associated with the TypedValue object’s value.
TypedValue.typeName Names the data type of the TypedValue object’s value.
TypedValue.value Contains the data value of the TypedValue object.