03.05.2013 Views

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Method summary<br />

Modifiers Signature Description<br />

static abs(x:Number) :<br />

Number<br />

static acos(x:Number) :<br />

Number<br />

static asin(x:Number) :<br />

Number<br />

static atan(tangent:Number)<br />

: Number<br />

static atan2(y:Number,<br />

x:Number) : Number<br />

static ceil(x:Number) :<br />

Number<br />

static cos(x:Number) :<br />

Number<br />

static exp(x:Number) :<br />

Number<br />

static floor(x:Number) :<br />

Number<br />

static log(x:Number) :<br />

Number<br />

static max(x:Number,<br />

y:Number) : Number<br />

static min(x:Number,<br />

y:Number) : Number<br />

static pow(x:Number,<br />

y:Number) : Number<br />

378 ActionScript classes<br />

Computes <strong>and</strong> returns an absolute value for the<br />

number specified by the parameter x.<br />

Computes <strong>and</strong> returns the arc cosine of the<br />

number specified in the parameter x, in radians.<br />

Computes <strong>and</strong> returns the arc sine for the number<br />

specified in the parameter x, in radians.<br />

Computes <strong>and</strong> returns the value, in radians, of the<br />

angle whose tangent is specified in the parameter<br />

tangent.<br />

Computes <strong>and</strong> returns the angle of the point y/x in<br />

radians, when measured counterclockwise from a<br />

circle's x axis (where 0,0 represents the center of<br />

the circle).<br />

Returns the ceiling of the specified number or<br />

expression.<br />

Computes <strong>and</strong> returns the cosine of the specified<br />

angle in radians.<br />

Returns the value of the base of the natural<br />

logarithm (e), to the power of the exponent<br />

specified in the parameter x.<br />

Returns the floor of the number or expression<br />

specified in the parameter x.<br />

Returns the natural logarithm of parameter x.<br />

Evaluates x <strong>and</strong> y <strong>and</strong> returns the larger value.<br />

Evaluates x <strong>and</strong> y <strong>and</strong> returns the smaller value.<br />

Computes <strong>and</strong> returns x to the power of y.<br />

static r<strong>and</strong>om() : Number Returns a pseudo-r<strong>and</strong>om number n, where 0

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!