We help IT Professionals succeed at work.

# Maths in Flash .....

on
Im new to using Flash and was looking to build a website using flash with a Maths theme.  The maths would be used in either a frontpage or within site graphics.  It only has to be simple, if anyone could forward or direct me to some code, it would be most appreciated.
Comment
Watch Question

## View Solution Only

Commented:
Flash has a math object and can do trig etc.

Method summary for the Math object Method Description
abs
Computes an absolute value.

acos
Computes an arc cosine.

asin
Computes an arc sine.

atan
Computes an arc tangent.

atan2
Computes an angle from the x-axis to the point.

ceil
Rounds a number up to the nearest integer.

cos
Computes a cosine.

exp
Computes an exponential value.

floor
Rounds a number down to the nearest integer.

log
Computes a natural logarithm.

max
Returns the larger of the two integers.

min
Returns the smaller of the two integers.

pow
Computes x raised to the power of the y.

random
Returns a pseudo-random number between 0.0 and 1.0.

round
Rounds to the nearest integer.

sin
Computes a sine.

sqrt
Computes a square root.

tan
Computes a tangent.

Property summary for the Math object

All of the properties for the Math object are constants. Property Description
E
Euler's constant and the base of natural logarithms (approximately 2.718).

LN2
The natural logarithm of 2 (approximately 0.693).

LOG2E
The base 2 logarithm of e (approximately 1.442).

LN10
The natural logarithm of 10 (approximately 2.302).

LOG10E
The base 10 logarithm of e (approximately 0.434).

PI
The ratio of the circumference of a circle to its diameter (approximately 3.14159).

SQRT1_2
The reciprocal of the square root of 1/2 (approximately 0.707).

SQRT2
The square root of 2 (approximately 1.414).

stefan
Commented:
flash maths at www.were-here.com

(not for the faint hearted!)

Commented:
Thanks ..... big_al_bruce

Is there a helpfull link because on the as im a little lost there .......

Commented:
is there a way of revserse engineering Shock Wave Files ?

Commented:
no, not really, you could try using an actionscript viewer.

Bruce

Commented:
why do you need to reverse engineer?

Commented:
Its for a u university Assignment and i'll have to tinker with it slightly ...........

Commented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is: