User Guide
242 Data binding classes (Flash Professional only)
Parameters
newBooleanValue A Boolean value.
Returns
Nothing.
Description
Method; sets the field to the new value, which is given as a Boolean value. The value is
converted to, and stored as, the data type that is appropriate for this field.
Example
The following example sets a variable named bool to the Boolean value true. It then sets the
value referenced by
field to true.
var bool: Boolean = true;
field.setAsBoolean (bool);
DataType.setAsNumber()
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
dataTypeObject.setAsNumber(newNumberValue)
Parameters
newNumberValue A number.
Returns
Nothing.
Description
Method; sets the field to the new value, which is given as a number. The value is converted to,
and stored as, the data type that is appropriate for this field.