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
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]]/
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
?
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
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
5 matches
Mail list logo