摘要:
for in 的速度比 for each in 慢很多倍 ~~var myArray:Array = new Array(); myArray["a"] = "zero"; myArray["b"] = "one"; myArray["2"] = "two";var _local1:String;for(_local1 in myArray) trace(_local1);这个 _loacl1 打印的是 2 b avar _local2:String; for each (_ 阅读全文