MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT Reference Manual page 457

Actionscript reference guide
Hide thumbs Also See for FLASH MX 2004 - ACTIONSCRIPT:
Table of Contents

Advertisement

Math.round()
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.round(x)
Parameters
A number.
x
Returns
A number.
Description
Method; rounds the value of the parameter
value.
Math.sin()
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.sin(x)
Parameters
An angle measured in radians.
x
Returns
Number; the sine of the specified angle (between -1.0 and 1.0).
Description
Method; computes and returns the sine of the specified angle in radians. Use the information
outlined in the
Math class
Math.sqrt()
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.sqrt(x)
up or down to the nearest integer and returns the
x
entry to calculate a radian.
Math.sqrt()
457

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?

Questions and answers

Table of Contents