Boolean.toString()
Availability
Flash Player 5.
Usage
myBoolean.toString() : String
Parameters
None.
Returns
A string;
"true"
Description
Method; returns the string representation (
Example
This example creates a variable of type Boolean and uses
string for use in the trace statement:
var myBool:Boolean = true;
trace("The value of the Boolean myBool is: " + myBool.toString());
myBool = false;
trace("The value of the Boolean myBool is: " + myBool.toString());
or
.
"false"
or
) of the Boolean object.
"true"
"false"
toString()
to convert the value to a
Boolean.toString()
129
Need help?
Do you have a question about the FLASH MX 2004-ACTIONSCRIPT LANGUAGE and is the answer not in the manual?
Questions and answers