AMF Playground
You just found a publically available website where you can play with AMF based (Flash/Flex) communication without the need of setting up your own server environment :) The service is very simple and it gives you access to CRUD methods of a single class type (a User class). This service is powered by Zend Framework and its Zend_Amf component. In the future I may also extend it with Java based backend that will give you access to messaging type of services.
This service has crossdomain.xml set to allow access from any domain so you can play with your own Flash/Flex applications running on your server.
The code of the application utilizing ping function could look like this:
For other functions it could be something like that (you can also check the source code of the demo application):
User class has three properties: id (auto-generated by database), name of the user and his picture.
You can right-click it and accees its source code.
From here you can download a sample demo project with ping function implemented.