<?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: Array Ordering in ActionScript 3</title>
	<atom:link href="http://coderhump.com/archives/322/feed" rel="self" type="application/rss+xml" />
	<link>http://coderhump.com/archives/322</link>
	<description>Game Development Technology, in Flash and Elsewhere</description>
	<lastBuildDate>Mon, 19 Jul 2010 11:35:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ben Garney</title>
		<link>http://coderhump.com/archives/322/comment-page-1#comment-45</link>
		<dc:creator>Ben Garney</dc:creator>
		<pubDate>Wed, 07 Jan 2009 00:17:18 +0000</pubDate>
		<guid isPermaLink="false">http://coderhump.com/?p=322#comment-45</guid>
		<description>I filed a bug about this for the Tamarin VM team: &lt;a href=&quot;https://bugzilla.mozilla.org/show_bug.cgi?id=472340&quot; rel=&quot;nofollow&quot;&gt;https://bugzilla.mozilla.org/show_bug.cgi?id=47...&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>I filed a bug about this for the Tamarin VM team: <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=472340" rel="nofollow"></a><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=47.." rel="nofollow">https://bugzilla.mozilla.org/show_bug.cgi?id=47..</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Garney</title>
		<link>http://coderhump.com/archives/322/comment-page-1#comment-43</link>
		<dc:creator>Ben Garney</dc:creator>
		<pubDate>Tue, 06 Jan 2009 11:34:22 +0000</pubDate>
		<guid isPermaLink="false">http://coderhump.com/?p=322#comment-43</guid>
		<description>In this case, I&#039;m using a serialization system to fill the array, and it&#039;s easier to make (or borrow) an Array-compatible class that preserves the order than it is to change the serialization system.&lt;br&gt;&lt;br&gt;In a more general context, PHP lets you have ordered associative arrays, and it&#039;s quite useful - you often store results from a database indexed by primary key and ordered by the order your SQL query returned them, for instance. Maybe having a built-in way to do that in Flash would be helpful (even if the default Array doesn&#039;t).&lt;br&gt;&lt;br&gt;I wish they would document what WILL be in order and what won&#039;t, though. That&#039;s part of what cost me two days to fix this problem.</description>
		<content:encoded><![CDATA[<p>In this case, I&#39;m using a serialization system to fill the array, and it&#39;s easier to make (or borrow) an Array-compatible class that preserves the order than it is to change the serialization system.</p>
<p>In a more general context, PHP lets you have ordered associative arrays, and it&#39;s quite useful &#8211; you often store results from a database indexed by primary key and ordered by the order your SQL query returned them, for instance. Maybe having a built-in way to do that in Flash would be helpful (even if the default Array doesn&#39;t).</p>
<p>I wish they would document what WILL be in order and what won&#39;t, though. That&#39;s part of what cost me two days to fix this problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://coderhump.com/archives/322/comment-page-1#comment-42</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Tue, 06 Jan 2009 11:28:36 +0000</pubDate>
		<guid isPermaLink="false">http://coderhump.com/?p=322#comment-42</guid>
		<description>Interesting observation about the atom ordering...but if a specific order is important to your code, why not push/unshift your transitions into a second (tightly-packed) array as they&#039;re initialized, then iterate over that one? Or maybe drop a marker variable onto your ITransition type and have the Transitions work as a linked list?</description>
		<content:encoded><![CDATA[<p>Interesting observation about the atom ordering&#8230;but if a specific order is important to your code, why not push/unshift your transitions into a second (tightly-packed) array as they&#39;re initialized, then iterate over that one? Or maybe drop a marker variable onto your ITransition type and have the Transitions work as a linked list?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
