Skip to main content
asidfree
Known Participant
February 16, 2010
Question

Load XML with urlstring variables

  • February 16, 2010
  • 1 reply
  • 618 views

I have a flash page flipping book that I bought at activeden.  It uses an XML file to load in the images of the book to flip through.  I have created a PHP file that takes an event ID and creates a custom XML file for flash.  How do I have flash load an xml file like this?  Instead of passing:

_xmlLoader.loadXml("setup.xml");

I would like to pass:

_xmlLoader.loadXml("setup.php?id=" + eid);

That code doesn't seem to be working for me though.  Am I missing something here?

This topic has been closed for replies.

1 reply

Ned Murphy
Legend
February 16, 2010

What is the php file doing?  Is the php file echoing the xml output in the same format that the original xml file presents the data?

asidfree
asidfreeAuthor
Known Participant
February 16, 2010

Yes Ned, I created the php file to dynamically create an xml file identical to the static xml file that was provided with the activeden application.

Ned Murphy
Legend
February 16, 2010

Is eid a String?