Flex 遍历Object键和值的示例代码

遍历键

for(var k:String in obj) { 
trace("Key: " + k + " - value: " + obj[k]); 
}

遍历值

for each(var v:* in obj) { 
trace("Value: " + v); 
}