If I have an Object (there's no hash class in Actionscript 3 right??),
is there a way to sort it according to one of it's member's
properties? For example:

var o:Object = new Object();

o['something'] = new Thing();
Thing(o['something']).order= 20;

o['another'] = new Thing();
Thing(o['another']).order= 10;

o['somethingelse'] = new Thing();
Thing(o['somethingelse']).order= 30;


I want to loop through o, in the order of it's member's "order"
property.  I can do this in java and perl and php, but actionscript
(unbelivably) has no Hash object, right? And "Object" doesn't
implement ICollectionView.  Is there anything else I can do here using
the API?

thanks






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to