public function foreachObjct(){
var forin:Object = {
test1:"你牛屎不?",
test2:"你说牛不喽",
test3:"我懒得理你了",
test4:"我真日"
};
trace( forin.test1 );
for( var k in forin ){
trace( k + '成员:' + forin[k] );
}
for each( var b in forin ){
trace ( b );
}
}
本站原创转载请注明:www.111com.net/flash_a/flash.html