AS3 does not guarantee any particular order for these iterations. The
current order is implementation-specific and subject to change without
notice in future releases, so do not rely on it. If you must ensure
index order, use
for (i = 0; i < n; i++)
- Gordon
________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of pkleppner
Sent: Thursday, January 25, 2007 9:30 AM
To: [email protected]
Subject: [flexcoders] for/for each iteration order for Array
In Flex 2.0, when iterating through elements of an Array with for ...
in, or for each ... in, is the iteration guaranteed to occur in index
order?
It appears to be the case, but I can't find any authoritative
reference that says so explicitly.