RE: [Flashcoders] Incorrect XML from PHP to Flash {RESOLVED}

2011-07-21 Thread Cor
OK, so when I change the output line in my PHP from: print $response; to print returnString=$response; It traces out a correct XML: ?xml version=1.0 encoding=UTF-8 ? dataprojectproject_code![CDATA[1]]/project_codeproject_datum![C

Re: [Flashcoders] Incorrect XML from PHP to Flash {RESOLVED}

2011-07-21 Thread Karl DeSaulniers
Good to hear. Best, Karl On Jul 21, 2011, at 2:34 AM, Cor wrote: OK, so when I change the output line in my PHP from: print $response; to print returnString=$response; It traces out a correct XML: ?xml version=1.0 encoding=UTF-8 ? dataprojectproject_code![CDATA[1]]/

Re: [Flashcoders] Incorrect XML from PHP to Flash {RESOLVED}

2011-07-21 Thread Henrik Andersson
Cor skriver: OK, so when I change the output line in my PHP from: print $response; to print returnString=$response; So flash expects a key-value pair!!! Now the real question is, why is Flash expecting that format to begin with? You shouldn't change your php code. You should change the

RE: [Flashcoders] Incorrect XML from PHP to Flash {RESOLVED}

2011-07-21 Thread Cor
? regards, Cor van Dooren -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Henrik Andersson Sent: donderdag 21 juli 2011 15:10 To: Flash Coders List Subject: Re: [Flashcoders] Incorrect XML from PHP to Flash

Re: [Flashcoders] Incorrect XML from PHP to Flash {RESOLVED}

2011-07-21 Thread Henrik Andersson
Cor skriver: Thank you. I have: var myXML:XML = XML(e.target.data.returnString); You should have XML(loader.data). Use the URLLoaderDataFormat.TEXT mode, not the URLLoaderDataFormat.VARIABLES mode. As for the ordering, did you request any specific order at any time in the chain? You did