for (var k in dictionary) { var key:KeyType = KeyType(k); var value:ValType = ValType(dictionary[k]);
This is what I use to scroll through entries in a dictionary. As you can see in each iteration, I do a search in a dictionary. Is there a more efficient way to iterate the dictionary (while maintaining access to the key)?
iterator iteration actionscript-3
Bart van Heukelom Mar 05 '10 at 12:53 on 2010-03-05 12:53
source share