privatefunction loadAcData(event:ResultEvent):void { var rawArray:Array; var rawData:String=event.result as String; rawArray = JSON.decode(rawData) as Array; ac=new ArrayCollection(); ac =new ArrayCollection(rawArray); myDG.init(ac); labNote.text="读取成功,总共"+ac.length+"条员工信息!"; }