Hello Jason,

public function getTriangleArea (a:Number, b:Number, c:Number):Number {
 var p:Number = (a+b+c)/2;
 return Math.sqrt(p*(p-a)*(p-b)*(p-c));
}


-- 
Ivan Dembicki
______________________________________________________________________
[EMAIL PROTECTED] | http://www.artlebedev.ru | http://www.sharedfonts.com

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to