Main Content

Flash (client) to PHP (server) - example

Archive - Originally posted on "The Horse's Mouth" - 2008-12-06 10:14:22 - Graham Ellis

Hidden deep in our website, there's an example of a Flash / Flex / Actionscript that runs in the browser, but contacts the server when certain information is required. In fact, it's so deeply hidden that I had trouble finding the links for some of yesterday's delegates:

An overview of Flash / Flex / Actionscipt

A demonstration of a Flash button which, when pressed, interacts with a PHP program on the server

An index of all the various pieces of code used in this demo with links to all the source code.

I'm also adding (to this page which is unashamedly a bit of a link farm) a link to AMFPHP. AMFPHP is an open-source PHP implementation of the Action Message Format(AMF) which is used primarily to exchange data between an Adobe Flash application and a database, using a Remote Procedure Call. Another alternative is WebOrb - of which both community and commercial versions are available.