ActionScript for Flash MX: The Definitive Guide, 2nd Edition By Colin Moock
Chapter 18. ActionScript Language Reference
Boolean.valueOf( ) Method
Flash 5
the primitive value of the Boolean object
booleanObject.valueOf()
Returns
The Boolean value true if the primitive value of booleanObject is true; false if the primitive value of booleanObject is false. The value of the Boolean object is specified when the object is constructed, and it is stored internally thereafter.
Description
The valueOf( ) method returns the primitive Boolean datum associated with a Boolean object. The valueOf( ) method returns the value argument with which the constructor was called, converted to its primitive Boolean equivalent.
Example
x = new Boolean(0); trace(x.valueOf()); // Displays: false