在项目用到了HashMap,需要遍历,并取到需要的值。
[U]复制代码[/U] 代码如下:
var iterator:Iterator = actImage.toLineMap.entrySet().iterator();
while(iterator.hasNext()) {
var entry:Entry = iterator.next() as Entry;
trace(entry.getValue());
var obj:Object = entry.getValue() as Object;
trace(obj);