Flash CS3 Documentation |
|||
| ActionScript 2.0 Language Reference > ActionScript classes > Boolean > toString (Boolean.toString method) | |||
public toString() : String
Returns the string representation ("true" or "false") of the Boolean object.
Availability: ActionScript 1.0; Flash Player 5
String - A string; "true" or "false".
This example creates a variable of type Boolean and then uses toString() to convert the value to a string for use in an array of strings:
var myStringArray:Array = new Array("yes", "could be");
var myBool:Boolean = 0;
myBool.toString();
myStringArray.push(myBool);
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/00001434.html