Flash CS3 Documentation |
|||
| ActionScript 2.0 Components Language Reference > Data binding classes > DataType.setAsBoolean() | |||
Flash Player 6 (6.0.79.0).
Flash MX Professional 2004.
dataTypeObject.setAsBoolean(newBooleanValue)
newBooleanValue A Boolean value.
Nothing.
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.
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);
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/00002701.html