6 Replies Latest reply on Aug 10, 2012 8:16 AM by kglad

# Mathematical calculations, measurements, area, weight, etc ...

Hello, I do not have much knowledge of action-scripts and wanted to know the following:

or you have some examples than those already seen how

I know you read the flash and coordinates well with calculations and wanted to know if the calculations kilometragens, areas, weights, measurements, simulate temperatures, mathematical calculations and so on ...

And it shows them with an example of basic animation type:

A car traveling a distance of 100km from a certain point of a road at 90km / h,

How long it would take to travel that distance?

An animation type a line that could alter the values of both Km and Km / h, to solve this simple calculation.

Thanks

Joel

• ###### 1. Re: Mathematical calculations, measurements, area, weight, etc ...

it takes

x = 100km/(90km/hr) = 10/9 hr to travel 100km at 90km/hr

• ###### 2. Re: Mathematical calculations, measurements, area, weight, etc ...

Even simpler.

for 90 km---------1h

for 100km--------X

then 90 x X=100

X=100/90= 10/9

• ###### 3. Re: Mathematical calculations, measurements, area, weight, etc ...

Hi

I understand the calculation, but would have some example for me

Tanks

• ###### 4. Re: Mathematical calculations, measurements, area, weight, etc ...

an example of what?

• ###### 6. Re: Mathematical calculations, measurements, area, weight, etc ...

ven posted his code.  just use it.