--自定义数组[0],之后再重新遍历 ------的方法
protected function queryHY():void{
hynewlist = new ArrayCollection();
var obj:Object = {};
obj.label="---请选择---";
obj.value=null;
hynewlist.addItem(obj);
FnQueryer.select2listbyc("ssjk_zdsyjk_initHY","and 1=1",null,function(result:ArrayCollection):void{
if(result != null){
for(var ix:int = 0;ix<result.length;ix++){
hynewlist.addItem(result[ix]);
}
jkhy.dataProvider = hynewlist;
}
});
}