Boolean.tostring() - MACROMEDIA FLASH MX 2004-ACTIONSCRIPT LANGUAGE Reference

Actionscript language reference
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading
Need help?

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx

Table of Contents