21 lines
382 B
ActionScript
21 lines
382 B
ActionScript
|
import mx.rpc.events.ResultEvent;
|
||
|
|
||
|
private var params:Object;
|
||
|
|
||
|
[Bindable]
|
||
|
private var result:XML;
|
||
|
|
||
|
private function initApp():void{
|
||
|
employeesService.cancel();
|
||
|
params= new Object();
|
||
|
}
|
||
|
|
||
|
public function resultHandler(event:ResultEvent):void {
|
||
|
result = XML( event.result);
|
||
|
}
|
||
|
|
||
|
public function fill():void{
|
||
|
viewstack1.selectedIndex=1;
|
||
|
employeesService.send(params);
|
||
|
}
|