Re: [Flashcoders] How to solve SSS triangle?

2005-11-22 Thread Rahul
._x); var diffy = (obj2._y-obj1._y); return (Math.sqrt((diffx*diffx)+(diffy*diffy))); } Regards, Rahul - Original Message - From: "ryanm" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Tuesday, November 22, 2005 4:30 PM Subject: Re: [Fla

Re: [Flashcoders] How to solve SSS triangle?

2005-11-22 Thread Pandian
Thank u... :-P ryanm wrote: I am having 3 movie Clips named point1_mc, point2_mc, point3_mc in the stage. They are arranged in such a way to form a triangle... Now how can i get those 3 angles and sides formed by these points.? With a high school geometry textbook? ;-) Law of cosines: c

Re: [Flashcoders] How to solve SSS triangle?-Solution

2005-11-22 Thread Pandian
Thank u Danny Kodicek... and i am presenting the solution to solve SSS triangle... /SOLVE TRIANGLE /// ///pass the instance names of there movieclips on the stage //this function returns a Solution Object //Solution object has: //a-side1 //b-side2 //c-si

Re: [Flashcoders] How to solve SSS triangle?

2005-11-22 Thread ryanm
I am having 3 movie Clips named point1_mc, point2_mc, point3_mc in the stage. They are arranged in such a way to form a triangle... Now how can i get those 3 angles and sides formed by these points.? With a high school geometry textbook? ;-) Law of cosines: c^2 = a^2 + b^2 - 2ab*Cos(q) Whe

Re: [Flashcoders] How to solve SSS triangle?

2005-11-21 Thread Danny Kodicek
I am having 3 movie Clips named point1_mc, point2_mc, point3_mc in the stage. They are arranged in such a way to form a triangle... Now how can i get those 3 angles and sides formed by these points.? Sides are given by the lengths of the vectors between the points (eg: x = point1_mc._x - poi

[Flashcoders] How to solve SSS triangle?

2005-11-21 Thread Pandian
I am having 3 movie Clips named point1_mc, point2_mc, point3_mc in the stage. They are arranged in such a way to form a triangle... Now how can i get those 3 angles and sides formed by these points.? Thank u -Pandian ___ Flashcoders mailing list Flash