Action Message Format or AMF is a binary format based loosely on the Simple Object Access Protocol (SOAP). It is used primarily to exchange data between an Adobe Flash application and a database, using a remote procedure call.
Each AMF message contains a body which holds the response, whether error message or data (such as arrays, objects, strings, numbers), which will be expressed as an ActionScript Object.
Typical usage from Adobe Flash Player, consists of an ActionScript program which:
1. Connects to a specific "gateway" URL on a web server
2. Accesses the service which handles AMF communication
3. Calls a remote method on the service, mentioning a "callback" method
4. Arguments passed are serialized to AMF and deserialized at the receiving end
5. The service processes the input, and optionally returns data via AMF
6. The callback method is invoked by the platform, and returned data is passed