Saving data to amfphp


/ Published in: Other
Save to your folder(s)



Copy this code and paste it in your HTML
  1. /**
  2. * We take one argument here, and that is a snippet, because our server (amfphp) is expecting a snippetVO
  3. *
  4. * @param snippet snippetVO object
  5. *
  6. */
  7. public function saveSnippet( snippet:SnippetVO ):void
  8. {
  9. _service.call( "snippr.SnipprService.saveSnippet", new Responder( snippetSavedHandler, snipprFaultHandler ), snippet );
  10. trace( "Saving Snippet" );
  11. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.