Math.SQRT1_2
Availability
Flash Player 5. In Flash Player 4, the methods and properties of the Math class are emulated using
approximations and might not be as accurate as the non-emulated math functions that Flash
Player 5 supports.
Usage
Math.SQRT1_2:Number
Description
Constant; a mathematical constant for the square root of one-half, with an approximate value of
0.7071067811865476.
Example
This example traces the value of
trace(Math.SQRT1_2);
// Output: 0.707106781186548
444
Chapter 2: ActionScript Language Reference
Math.SQRT1_2.
Need help?
Do you have a question about the FLASH MX 2004-ACTIONSCRIPT LANGUAGE and is the answer not in the manual?