I’m not new to XML, nor Flash, but until a week ago I had never worked with them together. It’s easy enough to understand, but I’m having a specific problem with xml.sendAndLoad. I’m trying to get any sample of Flash working that can send data and recieve it back at the same time, via XML.
I have this working perfectly from my local machine (currenlty just using a static XML file to test it, will eventually use ASP or PHP or whatever flavor I’m in the mood for that day.) The second I move it to a web server, however, it doesn’t work. It’s refusing to load the XML. Just to make sure it wasn’t some document setting on the server I also tried it with .txt and .asp files, but got the same results.
If I use the same test files, but just use xml.load instead it works perfectly on both my local machine, and in a web environment.
I’m not sure if it’s something in my code that’s stopping it from working on a web server, or if there’s something specific I’m missing or what. I was hoping someone here might have tackled a similar issue… .fla and .xml are in the attached .zip.