I'm getting a sorted ObjectProxy from a server. In my debugger it looks like this:
obj.stats = Object (@b90e661) [51] = Object (@b90e541) [52] = Object (@b90e361) [1] = Object (@b90e121) [2] = Object (@b90e9e1) (its week numbers linked to Objects, btw). However, when I use for() like this: for( var i:String in obj.stats) { trace(obj.stats[i]) } .. i get them in a different order (it starts with 2, then goes back to 51). Why does for() behave this way? .. and how can I loop through them in the order I see in my debugger? Best regards, Bjørn -- ======================== http://www.juicability.com - flex blog http://www.43min.com - funny movies