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.
(written 2008-12-06)
Associated topics are indexed under
H307 - PHP - Web2 and caching [3458] On this day ... one PHP script with three uses - (2011-09-26)
[3186] How to add a customised twitter feed to your site - (2011-02-27)
[3094] Setting your user_agent in PHP - telling back servers who you are - (2010-12-18)
[3029] PHP data sources - other web servers, large data flows, and the client (browser) - (2010-11-04)
[2545] Scraping content for your own page via PHP - (2009-12-21)
[2321] Uploading and Downloading files - changing names (Perl and PHP) - (2009-08-04)
[2196] New Example - cacheing results in PHP for faster loading - (2009-05-24)
[1995] Automated server heartbeat and health check - (2009-01-16)
[1814] Javascript/HTML example, dynamic server monitor - (2008-09-28)
[1813] Ajax - going Asyncronous and what it means - (2008-09-28)
[1812] Starting Ajax - easy example of browser calling up server data - (2008-09-27)
[1733] memcached - overview, installation, example of use in PHP - (2008-08-02)
[1647] Exchange Rates - PHP with your prices in your users currency - (2008-05-19)
[1633] Changing a screen saver from a web page (PHP, Perl, OSX) - (2008-05-06)
W611 - Web and Intranet - Actionscript [2390] Dynamic / changing images on your web page - (2009-09-01)
[1352] Actionscript / Flash / Flex (IAQ/FAQ) - (2007-09-15)
[1322] Flash - is it available to your web page? - (2007-08-26)
Some other Articles
Bath Christmas Market2009 - Hotel, Meeting, Training Course pricesMelksham Oak Secondary School, Melksham, WiltshireTeam changes at Well House - looking forwardFlash (client) to PHP (server) - exampleIntroduction to Object Oriented ProgrammingPreventing ^C stopping / killing a program - PerlMaking it all worthwhileFlurinci knows Raby Lae PHP and JeveRomeo and Julie