
Math.acos()
447
Property summary for the Math class
All of the properties for the Math class are constants.
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
x
A number.
Returns
A number.
Description
Method; computes and returns an absolute value for the number specified by the parameter
x
.
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
x
A number from -1.0 to 1.0.
Property
Description
Math.E
Euler's constant and the base of natural logarithms (approximately 2.718).
Math.LN2
The natural logarithm of 2 (approximately 0.693).
Math.LOG2E
The base 2 logarithm of
e
(approximately 1.442).
Math.LN2
The natural logarithm of 10 (approximately 2.302).
Math.LOG10E
The base 10 logarithm of
e
(approximately 0.434).
Math.PI
The ratio of the circumference of a circle to its diameter (approximately 3.14159).
Math.SQRT1_2
The reciprocal of the square root of 1/2 (approximately 0.707).
Math.SQRT2
The square root of 2 (approximately 1.414).
Содержание FLASH MX 2004 - ACTIONSCRIPT
Страница 1: ...ActionScript Reference Guide...
Страница 8: ...8 Contents...
Страница 12: ......
Страница 24: ...24 Chapter 1 What s New in Flash MX 2004 ActionScript...
Страница 54: ...54 Chapter 2 ActionScript Basics...
Страница 80: ...80 Chapter 3 Writing and Debugging Scripts...
Страница 82: ......
Страница 110: ...110 Chapter 5 Creating Interaction with ActionScript...
Страница 112: ......
Страница 120: ...120 Chapter 6 Using the Built In Classes...
Страница 176: ......
Страница 192: ...192 Chapter 10 Working with External Data...
Страница 202: ...202 Chapter 11 Working with External Media...
Страница 204: ......
Страница 782: ...782 Chapter 12 ActionScript Dictionary...
Страница 793: ...Other keys 793 221 222 Key Key code...
Страница 794: ...794 Appendix C Keyboard Keys and Key Code Values...
Страница 798: ...798 Appendix D Writing Scripts for Earlier Versions of Flash Player...
Страница 806: ...806 Appendix E Object Oriented Programming with ActionScript 1...
Страница 816: ...816 Index...