<?xml version="1.0" encoding="iso-8859-1"?><rss version="2.0">
<channel><title><![CDATA[ActionScript.org Flash, Flex and ActionScript Resources - Comments for article: Mouse Angle Detection II]]></title><link>http://www.actionscript.org/resources</link><description /><language>en-us</language><copyright><![CDATA[http://www.actionscript.org/resources]]></copyright><generator>N/A</generator><webMaster>general.redirect@gmail.com</webMaster><lastBuildDate>Sat, 21 Nov 2009 21:11:10 CST</lastBuildDate><ttl>20</ttl><item><title><![CDATA[Comment #1]]></title><link>http://www.actionscript.org/resources/articles/154/1/Mouse-Angle-Detection-II/Page1.html#Comment4855</link><description><![CDATA[Instead of using Math.atan(y/x), try Math.atan2(y,x) (note 2 args)
This neat function calculates the quadrant for you, so you dont have to bother with adding/subtracting 90 degrees depending on the sign<br/><br/>
(Comment posted by matt at 2:00 pm, Sun 22nd Jul 2007)]]></description><author>no@spam.com (matt)</author><pubDate><![CDATA[Sun, 22 Jul 2007 14:00:28 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/154/1/Mouse-Angle-Detection-II/Page1.html#Comment4855</guid></item></channel></rss>