public function getIssues(issueFilter:Object):void { gateway.call("Service.getIssues", new Responder(onResult, noResult), issueFilter); function onResult(result:Array):void { //msg(result); issuesArray = result; } function noResult(fault:String):void { Alert.show("No issues with matching criteria found", "No issues found"); } }