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

Actionscript language reference
Table of Contents

Advertisement

Boolean.valueOf()

Availability
Flash Player 5.
Usage
myBoolean.valueOf() : Boolean
Parameters
None.
Returns
A Boolean value.
Description
Method: returns
otherwise.
Example
The following example shows how this method works, and also shows that the primitive value
type of a new Boolean object is
var x:Boolean = new Boolean();
trace(x.valueOf());
x = (6==3+3);
trace(x.valueOf());
130
Chapter 2: ActionScript Language Reference
if the primitive value type of the specified Boolean object is true;
true
:
false
// false
// true
false

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?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx

Table of Contents