-
Flash>PHP format issue..
Hi,
I am loading some php into my flash movie with this code;
function getGallery() {
var c = new LoadVars();
c.sendAndLoad("data/gallery_test.php", c, "POST");
c.onLoad = function(success) {
if (success) {
trace(c);
}
};
}
This code seems to load the resulting data in (which is a php generated xml document) but the kind of data returning looks like this;
xml%20=%20%3C%3C%3CXML%0D%0A%3C%3F
xml%20version%3D%221%2E0%22%20encoding%3D%22UTF%2D 8%22%20
standalone%3D%22yes%22%3F%3E%0D%0A%3Cgallery%3E%0D %0A%09%
3Ctags%3E%3C%21%5BCDATA%5B%24tags%5D%5D%3E%3C%2Fta gs
Which needless to say, is not quite right... Is there a way I can convert this code back to normal xml code that I can use?
Thanks,
Steven.