Flash CS3 Documentation |
|||
| ActionScript 2.0 Language Reference > ActionScript classes > Boolean > Boolean constructor | |||
public Boolean([value:Object])
Creates a Boolean object. If you omit the value parameter, the Boolean object is initialized with a value of false. If you specify a value for the value parameter, the method evaluates it and returns the result as a Boolean value according to the rules in the global Boolean() function.
Availability: ActionScript 1.0; Flash Player 5
value:Object [optional] - Any expression. The default value is false.
The following code creates a new empty Boolean object called myBoolean:
var myBoolean:Boolean = new Boolean();
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/00001433.html