<?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 on: How to reverse an array with ActionScript (without the .reverse method)</title>
	<atom:link href="http://actionscriptcheatsheet.com/blog/2006/04/26/how-to-reverse-an-array-with-actionscript-without-the-reverse-method/feed/" rel="self" type="application/rss+xml" />
	<link>http://actionscriptcheatsheet.com/blog/2006/04/26/how-to-reverse-an-array-with-actionscript-without-the-reverse-method/</link>
	<description>Printable quick reference cards for the ActionScript language. AS3, Flex, AIR, Papervision, and more!</description>
	<lastBuildDate>Tue, 07 Oct 2008 21:55:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: &#160; Binary Search: created with Flex Builder 2&#160;by&#160;Sean Moore: ActionScript Coder</title>
		<link>http://actionscriptcheatsheet.com/blog/2006/04/26/how-to-reverse-an-array-with-actionscript-without-the-reverse-method/comment-page-1/#comment-268</link>
		<dc:creator>&#160; Binary Search: created with Flex Builder 2&#160;by&#160;Sean Moore: ActionScript Coder</dc:creator>
		<pubDate>Tue, 24 Apr 2007 04:25:29 +0000</pubDate>
		<guid isPermaLink="false">http://actionscriptcheatsheet.com/blog/archives/12#comment-268</guid>
		<description>[...] If you remember back about a year ago now you may recall seeing an algorithm posted on the ActionScript Cheatsheet blog demonstrating how to reverse an Array. There was a distance learning course on UWTV on the C programming langauge and an unrelated blog post that prompted my interest in the reverse algorithm. Recently I was asked about an algorithm to &#8220;guess&#8221; an integer within a given range. Something about that old reverse algorithm instantly met my mind. The whole left, right, mid concept in particular. [...]</description>
		<content:encoded><![CDATA[<p>[...] If you remember back about a year ago now you may recall seeing an algorithm posted on the ActionScript Cheatsheet blog demonstrating how to reverse an Array. There was a distance learning course on UWTV on the C programming langauge and an unrelated blog post that prompted my interest in the reverse algorithm. Recently I was asked about an algorithm to &#8220;guess&#8221; an integer within a given range. Something about that old reverse algorithm instantly met my mind. The whole left, right, mid concept in particular. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: thomas</title>
		<link>http://actionscriptcheatsheet.com/blog/2006/04/26/how-to-reverse-an-array-with-actionscript-without-the-reverse-method/comment-page-1/#comment-267</link>
		<dc:creator>thomas</dc:creator>
		<pubDate>Thu, 15 Feb 2007 18:48:23 +0000</pubDate>
		<guid isPermaLink="false">http://actionscriptcheatsheet.com/blog/archives/12#comment-267</guid>
		<description>I am trying to reverse the array of an xml file so that if you add a new element to the top of the xml file it will load in reverse order in a list component. is this possible?</description>
		<content:encoded><![CDATA[<p>I am trying to reverse the array of an xml file so that if you add a new element to the top of the xml file it will load in reverse order in a list component. is this possible?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nickjohnston</title>
		<link>http://actionscriptcheatsheet.com/blog/2006/04/26/how-to-reverse-an-array-with-actionscript-without-the-reverse-method/comment-page-1/#comment-266</link>
		<dc:creator>nickjohnston</dc:creator>
		<pubDate>Tue, 19 Dec 2006 00:03:01 +0000</pubDate>
		<guid isPermaLink="false">http://actionscriptcheatsheet.com/blog/archives/12#comment-266</guid>
		<description>I found that you have to return the array that is passed in the function callback

function reverse(_arr):Array{
	var left:Number = 0;
	var right:Number = _arr.length-1;

	while(left</description>
		<content:encoded><![CDATA[<p>I found that you have to return the array that is passed in the function callback</p>
<p>function reverse(_arr):Array{<br />
	var left:Number = 0;<br />
	var right:Number = _arr.length-1;</p>
<p>	while(left</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bigusfickes</title>
		<link>http://actionscriptcheatsheet.com/blog/2006/04/26/how-to-reverse-an-array-with-actionscript-without-the-reverse-method/comment-page-1/#comment-265</link>
		<dc:creator>bigusfickes</dc:creator>
		<pubDate>Tue, 15 Aug 2006 19:56:52 +0000</pubDate>
		<guid isPermaLink="false">http://actionscriptcheatsheet.com/blog/archives/12#comment-265</guid>
		<description>or if you&#039;re stuck in AS1 land.

var example_array = new Array(1,2,3,4,5);

trace(example_array);

example_array.reverse();

trace(example_array);</description>
		<content:encoded><![CDATA[<p>or if you&#8217;re stuck in AS1 land.</p>
<p>var example_array = new Array(1,2,3,4,5);</p>
<p>trace(example_array);</p>
<p>example_array.reverse();</p>
<p>trace(example_array);</p>
]]></content:encoded>
	</item>
</channel>
</rss>

