You can have your Flash Client connect to a PHP Socket. When events happen on the server-side, notify the socket which the Flash client will listen for new data from the backend. The ActionScript XMLSocket handler will need to fire the client-side method. Whoever is doing the ActionScript side of things need not handle just XML, it can also handle URL-encoded strings.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Andrew Lechner Sent: Monday, September 18, 2006 3:39 PM To: Flashcoders Subject: [Flashcoders] Calling Actionscript from PHP Hello, I'm a PHP/Perl developer who's not terribly familiar with Flash or Actionscript. A Flash developer friend of mine suggested I try asking a question here. I find myself in a position where I need to call an Actionscript function from PHP. This PHP page is not viewed by the user, it's just called via AJAX from another page. The server is running FreeBSD with PHP 4. Is there any way to accomplish this? I would rather avoid having this function called on the client-side due to security concerns. If the above is impossible or financially prohibitive (via FMS), is there a good Actionscript to PHP converter anyone can recommend? Thank you very much for your time, Andrew _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

