遍历键for(var k:String in obj) { trace("Key: " + k + " - value: " + obj[k]); } 遍历值for each(var v:* in obj) { trace("Value: " + v); } 更多Flex 遍历Object键和值的示例代码相关文章请关注PHP中文网!