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.

The following is an example of passing the equation as a parameter to calculate the sine of a<br />

45° angle:<br />

Math.sin(45 * Math.PI/180) is the same as Math.sin(.7854)<br />

Property summary<br />

Modifiers Property Description<br />

static E:Number A mathematical constant for the base of natural<br />

logarithms, expressed as e.<br />

static LN10:Number A mathematical constant for the natural logarithm<br />

of 10, expressed as loge10, with an approximate<br />

value of 2.302585092994046.<br />

static LN2:Number A mathematical constant for the natural logarithm<br />

of 2, expressed as loge2, with an approximate<br />

value of 0.6931471805599453.<br />

static LOG10E:Number A mathematical constant for the base-10 logarithm<br />

of the constant e (Math.E), expressed as log10e,<br />

with an approximate value of<br />

0.4342944819032518.<br />

static LOG2E:Number A mathematical constant for the base-2 logarithm<br />

of the constant e (Math.E), expressed as log2e,<br />

with an approximate value of<br />

1.442695040888963387.<br />

static PI:Number A mathematical constant for the ratio of the<br />

circumference of a circle to its diameter, expressed<br />

as pi, with a value of 3.141592653589793.<br />

static SQRT1_2:Number A mathematical constant for the square root of<br />

one-half, with an approximate value of<br />

0.7071067811865476.<br />

static SQRT2:Number A mathematical constant for the square root of 2,<br />

with an approximate value of<br />

1.4142135623730951.<br />

Properties inherited from class Object<br />

constructor (Object.constructor property), __proto__ (Object.__proto__<br />

property), prototype (Object.prototype property), __resolve<br />

(Object.__resolve property)<br />

Math 377

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

Saved successfully!

Ooh no, something went wrong!