Property summary for the Math class
All of the properties for the Math class are constants.
Property
Math.E
Math.LN2
Math.LOG2E
Math.LN2
Math.LOG10E
Math.PI
Math.SQRT1_2
Math.SQRT2
Math.abs()
Availability
Flash Player 5. In Flash Player 4, the methods and properties of the Math class are emulated using
approximations and may not be as accurate as the non-emulated math functions supported by
Flash Player 5.
Usage
Math.abs(x)
Parameters
A number.
x
Returns
A number.
Description
Method; computes and returns an absolute value for the number specified by the parameter
Math.acos()
Availability
Flash Player 5. In Flash Player 4, the methods and properties of the Math class are emulated using
approximations and may not be as accurate as the non-emulated math functions supported by
Flash Player 5.
Usage
Math.acos(x)
Parameters
A number from -1.0 to 1.0.
x
Description
Euler's constant and the base of natural logarithms (approximately 2.718).
The natural logarithm of 2 (approximately 0.693).
The base 2 logarithm of e (approximately 1.442).
The natural logarithm of 10 (approximately 2.302).
The base 10 logarithm of e (approximately 0.434).
The ratio of the circumference of a circle to its diameter (approximately 3.14159).
The reciprocal of the square root of 1/2 (approximately 0.707).
The square root of 2 (approximately 1.414).
.
x
Math.acos()
447
Need help?
Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?