AMF Playground

Action Message Format for beginners...

About | Service Info | Video Tutorials | Demo | Downloads | Blog


About

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.

Service Info

RemoteObject settings:

Remote service public functions:

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 (Value Object)

User class has three properties: id (auto-generated by database), name of the user and his picture.



Video Tutorials



Demo Application

You can right-click it and accees its source code.

Get Adobe Flash player


Download demo project

From here you can download a sample demo project with ping function implemented.