In the absence of a formal Map I am using an object as a key/value pair map as follows:
var map:Object = new Object(); map["A"] = some_object_A; map["B"] = some_object_B; map["C"] = some_object_C; and then looking up by the key var object_A:Object = map["A"]; etc. This works really well for random lookup by the key, but what I also need is a way to iterate through the objects I have put on the map object. Is there a for each(* in map) construct I can use? Does anyone know if there are any plans to support HashMaps in AS3 or flash? Is there anything synonymous to a HashMap already that I am clearly not aware of? Thanks Simon