Math.pow()
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.pow(x , y)
Parameters
A number to be raised to a power.
x
A number specifying a power the parameter
y
Returns
A number.
Description
Method; computes and returns
Math.random()
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.random()
Parameters
None.
Returns
A number.
Description
Method; returns n, where 0 <= n < 1.
See also
random
456
Chapter 12: ActionScript Dictionary
is raised to.
x
to the power of
:
x
y
xy
.
Need help?
Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?