![MACROMEDIA Flash Lite 2 Скачать руководство пользователя страница 429](http://html1.mh-extra.com/html/macromedia/flash-lite-2/flash-lite-2_reference_687553429.webp)
Math
429
SQRT2 (Math.SQRT2 property)
public static SQRT2 :
Number
A mathematical constant for the square root of 2, with an approximate value of
1.4142135623730951.
Availability:
ActionScript 1.0; Flash Lite 2.0 - 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.
Example
This example traces the value of
Math.SQRT2.
trace(Math.SQRT2);
// Output: 1.4142135623731
tan (Math.tan method)
public static tan(x:
Number
) : Number
Computes and returns the tangent of the specified angle. To calculate a radian, use the
information outlined in the introduction to the Math class.
Availability:
ActionScript 1.0; Flash Lite 2.0 - 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.
Parameters
x
:
Number
- A number that represents an angle measured in radians.
Returns
Number
- A number; tangent of parameter
x
.
Содержание Flash Lite 2
Страница 1: ...Flash Lite 2 x ActionScript Language Reference...
Страница 22: ...22 Contents...
Страница 244: ...244 ActionScript language elements...
Страница 760: ...760 ActionScript classes...