Flash2PHP provide a really simple way of connecting a client app with a server side.