Flash isn't parsing XML outputted from PHP?

christsealed

New member
Hi,

With a little help from a friend (a huge help!) we were able to get my PHP file to output an XML script for Flash to parse.

It worked correctly. The PHP echoes the exactly identical code in the same node heirarchy as the original static XML file that works.

However, while I can get Flash to accept the static XML, the dynamic XML generated by PHP will not work with Flash. Why?

Here's the PHP generated XML.

<?xml version="1.0"?>
<galleries>
<gallery title="architecture" intro="This gallery showcases all of the interesting buildings we happened upon whilst travelling through Prague.">
</gallery>
<gallery title="factory" intro="There's nothing like the tang of rust encrusted old pipes spewing putrid steam.">
<image>Description1</image>
<image>Description2</image>
<image>Description3</image>
<image>Description4</image>
<image>Description5</image>
<image>Description6</image>
</gallery>
<gallery title="essays" intro="A little bit of this, a little bit of that.">
</gallery>
<gallery title="nature" intro="Scenes from the wild.">
</gallery>
<gallery title="one color" intro="Oy, you want black and white? Try a cookie!">
</gallery>
</galleries>

Why would Flash parse the static XML and not the dynamic PHP generated XML?
 
Back
Top