well, yes i would recommend you look at amfphp, but while it's great and I use it often, sometimes that could be overkill depending on your needs.
the thing with sending xml to flash is that you have a nicely structured object to deal with (as opposed to sending flash a url-encoded string and parsing that). The downside is, if you are going to use the flash's native xml-handling methods(firstChild, childNodes[]), it maybe become cumbersome if you are dealing with some complex xml. As mentioned previously, sending xml will pretty much always require sending more data, since you have to send all the extra xml info with the response. If you're xml is fairly light however, it may be worth your time to to just send back the xml, and use flash's native xml object methods. Also mentioned is XPath, which really rocks, and the combination of sending back xml to flash and using XPath syntax to query the xml object is pretty powerful. On 4/20/06, Ettwein, Josh <[EMAIL PROTECTED]> wrote: > If you're already using PHP on the server side, I can't see why you > wouldn't use AMF - it's binary, where xml is not, and is far more > verbose to send across the pipe. > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Shaw, > Matt (MTVN) > Sent: Thursday, April 20, 2006 9:43 AM > To: Flashcoders mailing list > Subject: RE: [Flashcoders] XML->PHP->FLASH > > Or don't write any XML at all. > All the kids are using XML-RPC with Flash - it's the neatest! > > http://xmlrpcflash.sf.net > > > _______________________________________________ > [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

