var objInfo:Object = ObjectUtil.getClassInfo(_menu);//_menu 为遍历对象
var fieldName:Array = objInfo["properties"] as Array;
for each(var q:QName in fieldName){
//q 属性名称,value 对应的值
var value:String = _menu[q.localName] as String;
trace(q+" "+value);
}
var objInfo:Object = ObjectUtil.getClassInfo(_menu);//_menu 为遍历对象
}