my php script generates an XML answer which gets loaded back to flash into
a loadVars object. The answer arrives fine but I got all kinds of funky stuff
and not an XML.
like this:
%3D%220%22%2F%3E%0A%09%09%3Cjatekos%3E%0A%09%09%09%3Cnick%3Eg%EF%BF%BD%20%EF%BF%BDajdina%3C%2Fnick%3E%0A%09%09%09%3Cpontszam%3E100%3C%2Fpontszam%3E%0A%09%09%3C%2Fjatekos%3E%0A%09%09%3Cjatekos%3E%0A%09%09%09%3Cnick%3Eclx%3C%2Fnick%3E%0A%09%09%09%3Cpontszam%3E100%3C%2Fpontszam%3E%0A%09%09%3C%2Fjatekos%3E%0A%09%09%3Cjatekos%3E%0A%09%09%09%3Cnick%3Eewre
and this is how I get it:
highScoreRecive_lv.onLoad = function(success:Boolean) {
resp_txt.text = this;
};
but the anaswer viewed in html looks like this
<?xml version=”1.0” encoding=”ISO-8859-2”?>
<valasz>
<statusz kod=”0”/>
<jatekos>
<nick>clx</nick>
<pontszam>120</pontszam>
</jatekos>
<jatekos>
<nick>attis</nick>
<pontszam>110</pontszam>
</jatekos>
<jatekos>
<nick>rifa</nick>
<pontszam>90</pontszam>
</jatekos>
</response>
anyone could help me with this?
I hope it’s clear enough