Skip to content

Instantly share code, notes, and snippets.

@bclinkinbeard
Created October 22, 2010 17:00
Show Gist options
  • Save bclinkinbeard/640954 to your computer and use it in GitHub Desktop.
Save bclinkinbeard/640954 to your computer and use it in GitHub Desktop.
[EventHandler( "${eventToHandle}"${extraTagAttribs} )]
protected function ${methodName}(${methodParams}):void
{
serviceHelper.executeServiceCall( ${delegate}, ${methodName}_result, ${methodName}_fault );
}
protected function ${methodName}_result( data:Object ):void
{
var ${resultVar} = data.result[ 0 ] as ${serviceReturnType};
}
protected function ${methodName}_fault( info:Object ):void
{
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment