Your teacher must be cringing!
"The square of the hypotenuse equals the sum of the squares of the opposite
two sides" should be familar.. ;-)
Math.sqrt ( Math.pow(Math.abs(x1-x2),2 )+Math.pow(Math.abs(y1-y2),2 )+))
Paul
----- Original Message -----
From: "Lehr, Theodore M (N-SGIS)" <[EMAIL PROTECTED]>
To: "Flash Coders List" <flashcoders@chattyfig.figleaf.com>
Sent: Tuesday, March 11, 2008 12:05 PM
Subject: [Flashcoders] calculating distance between two points
How do you calculate the distance between two points with different x
and y values? I know it is some simple math formula - I just don't know
it....
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders