<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments for Ryan Caillouet's Flash Blog</title>
	<atom:link href="http://elipticdesigns.com/flash/?feed=comments-rss2" rel="self" type="application/rss+xml" />
	<link>http://elipticdesigns.com/flash</link>
	<description>Actionscript 3.0 Tricks and Hints</description>
	<pubDate>Wed, 08 Sep 2010 15:02:22 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on AS3 Hashmap - Arraymap by Patrizier 4 Kaufen</title>
		<link>http://elipticdesigns.com/flash/?p=38&#038;cpage=1#comment-51</link>
		<dc:creator>Patrizier 4 Kaufen</dc:creator>
		<pubDate>Tue, 17 Aug 2010 11:39:51 +0000</pubDate>
		<guid isPermaLink="false">http://elipticdesigns.com/flash/?p=38#comment-51</guid>
		<description>hi! That is a great edu blog. I think edu stands for quality (:</description>
		<content:encoded><![CDATA[<p>hi! That is a great edu blog. I think edu stands for quality (:</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Actionscript Distance Between 2 Longitude Latitude Points by Bergen</title>
		<link>http://elipticdesigns.com/flash/?p=34&#038;cpage=1#comment-49</link>
		<dc:creator>Bergen</dc:creator>
		<pubDate>Fri, 16 Jul 2010 22:44:31 +0000</pubDate>
		<guid isPermaLink="false">http://elipticdesigns.com/flash/?p=34#comment-49</guid>
		<description>Perfect! Thanks for saving me some math, Ryan.</description>
		<content:encoded><![CDATA[<p>Perfect! Thanks for saving me some math, Ryan.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Actionscript Distance Between 2 Longitude Latitude Points by bob</title>
		<link>http://elipticdesigns.com/flash/?p=34&#038;cpage=1#comment-44</link>
		<dc:creator>bob</dc:creator>
		<pubDate>Sun, 18 Apr 2010 07:55:22 +0000</pubDate>
		<guid isPermaLink="false">http://elipticdesigns.com/flash/?p=34#comment-44</guid>
		<description>"var c:Number = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1 - a));" can be simplified to "var c:Number = 2 * Math.asin(Math.sqrt(a));"</description>
		<content:encoded><![CDATA[<p>&#8220;var c:Number = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1 - a));&#8221; can be simplified to &#8220;var c:Number = 2 * Math.asin(Math.sqrt(a));&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Actionscript Distance Between 2 Longitude Latitude Points by Trina Imig</title>
		<link>http://elipticdesigns.com/flash/?p=34&#038;cpage=1#comment-35</link>
		<dc:creator>Trina Imig</dc:creator>
		<pubDate>Fri, 26 Mar 2010 17:17:19 +0000</pubDate>
		<guid isPermaLink="false">http://elipticdesigns.com/flash/?p=34#comment-35</guid>
		<description>Great site and very great information!</description>
		<content:encoded><![CDATA[<p>Great site and very great information!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Actionscript Distance Between 2 Longitude Latitude Points by Ariel</title>
		<link>http://elipticdesigns.com/flash/?p=34&#038;cpage=1#comment-32</link>
		<dc:creator>Ariel</dc:creator>
		<pubDate>Sun, 31 Jan 2010 11:31:56 +0000</pubDate>
		<guid isPermaLink="false">http://elipticdesigns.com/flash/?p=34#comment-32</guid>
		<description>Hi Ryan,
Thanks a lot for posting this function!!!
now I don't need to setup a mySql db, my stores are in an actionscript array.
THANKS :-),
Ariel</description>
		<content:encoded><![CDATA[<p>Hi Ryan,<br />
Thanks a lot for posting this function!!!<br />
now I don&#8217;t need to setup a mySql db, my stores are in an actionscript array.<br />
THANKS :-),<br />
Ariel</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Optimizing a For loop by admin</title>
		<link>http://elipticdesigns.com/flash/?p=13&#038;cpage=1#comment-3</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 21 Apr 2009 21:30:14 +0000</pubDate>
		<guid isPermaLink="false">http://elipticdesigns.com/flash/?p=13#comment-3</guid>
		<description>Normally if this was in a class, it'd be a local variable inside of a function and once the functions complete it'll cease to exist.

It don't think it's significantly slower but imagining many multidimensional arrays looping on an interval (such as collision testing).... it should help a little.

I believe that's basically what the array already does, considering that "length" is the property being incremented/decremented. I'm simply saying instead of accessing an objects property over and over, it should help to make a local variable within your function for each loop.</description>
		<content:encoded><![CDATA[<p>Normally if this was in a class, it&#8217;d be a local variable inside of a function and once the functions complete it&#8217;ll cease to exist.</p>
<p>It don&#8217;t think it&#8217;s significantly slower but imagining many multidimensional arrays looping on an interval (such as collision testing)&#8230;. it should help a little.</p>
<p>I believe that&#8217;s basically what the array already does, considering that &#8220;length&#8221; is the property being incremented/decremented. I&#8217;m simply saying instead of accessing an objects property over and over, it should help to make a local variable within your function for each loop.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Optimizing a For loop by Rich Walkup</title>
		<link>http://elipticdesigns.com/flash/?p=13&#038;cpage=1#comment-2</link>
		<dc:creator>Rich Walkup</dc:creator>
		<pubDate>Tue, 21 Apr 2009 01:17:37 +0000</pubDate>
		<guid isPermaLink="false">http://elipticdesigns.com/flash/?p=13#comment-2</guid>
		<description>If using this code optimization, make sure that no other process within has access to alter the number of items within the array.  If another process alters the length of the array by adding or removing an item, it could cause the process within the iterative to throw an exception.  Code optimization is a balancing act that requires much attention to detail so you don't end up with random bugs you have a hard time finding or reproducing.  

I'm not sure how the Flash Array class is implemented but if it's significantly slower to use Array.length then it might make more sense to implement your own array class that extends the Flash array class and adds a single property similar to length which is incremented or decremented when push, pop, join, etc calls are made.  Just a thought.</description>
		<content:encoded><![CDATA[<p>If using this code optimization, make sure that no other process within has access to alter the number of items within the array.  If another process alters the length of the array by adding or removing an item, it could cause the process within the iterative to throw an exception.  Code optimization is a balancing act that requires much attention to detail so you don&#8217;t end up with random bugs you have a hard time finding or reproducing.  </p>
<p>I&#8217;m not sure how the Flash Array class is implemented but if it&#8217;s significantly slower to use Array.length then it might make more sense to implement your own array class that extends the Flash array class and adds a single property similar to length which is incremented or decremented when push, pop, join, etc calls are made.  Just a thought.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
