RE: [Flashcoders] Traversing through Object goes backwards

2007-09-13 Thread Mendelsohn, Michael
Thanks for the response Andy. I just ended up doing this: public function reverseObject(objToReverse:Object):Object { // reverses the object again after built, meaning it's now in the right order var alteredObj:Object = new Object(); for (var i in objToReverse) {

Re: [Flashcoders] Traversing through Object goes backwards

2007-09-13 Thread eka
Hello :) Use my framework and this ADT package based on the JAVA collections framework : The Map and the SortedArrayMap tutorial : http://code.google.com/p/vegas/wiki/VegasTutorials_collection_map My SortedArrayMap can help you :) You can use my vegas.data package in AS2/AS3 and SSAS :) Page

Re: [Flashcoders] Traversing through Object goes backwards

2007-09-12 Thread Andy Herrman
Objects work pretty much like hashtables (from my understanding). Hashtables generally don't guarantee any kind of ordering. Flash may enforce some kind of ordering (y seems to be going in reverse order of when things were added) but I don't know of any ordering and generally treat it as