<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>CoderHump - Latest Comments in Array Ordering in ActionScript 3</title><link>http://coderhump.disqus.com/</link><description>My personal blog.</description><atom:link href="https://coderhump.disqus.com/array_ordering_in_actionscript_3/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 06 Jan 2009 14:17:18 -0000</lastBuildDate><item><title>Re: Array Ordering in ActionScript 3</title><link>http://coderhump.com/archives/322#comment-4937011</link><description>&lt;p&gt;I filed a bug about this for the Tamarin VM team: &lt;a href="https://bugzilla.mozilla.org/show_bug.cgi?id=472340" rel="nofollow noopener" target="_blank" title="https://bugzilla.mozilla.org/show_bug.cgi?id=472340"&gt;https://bugzilla.mozilla.or...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ben Garney</dc:creator><pubDate>Tue, 06 Jan 2009 14:17:18 -0000</pubDate></item><item><title>Re: Array Ordering in ActionScript 3</title><link>http://coderhump.com/archives/322#comment-4927200</link><description>&lt;p&gt;In this case, I'm using a serialization system to fill the array, and it's easier to make (or borrow) an Array-compatible class that preserves the order than it is to change the serialization system.&lt;/p&gt;&lt;p&gt;In a more general context, PHP lets you have ordered associative arrays, and it'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't).&lt;/p&gt;&lt;p&gt;I wish they would document what WILL be in order and what won't, though. That's part of what cost me two days to fix this problem.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ben Garney</dc:creator><pubDate>Tue, 06 Jan 2009 01:34:22 -0000</pubDate></item><item><title>Re: Array Ordering in ActionScript 3</title><link>http://coderhump.com/archives/322#comment-4927135</link><description>&lt;p&gt;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'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?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rob</dc:creator><pubDate>Tue, 06 Jan 2009 01:28:36 -0000</pubDate></item></channel></rss>