I just did a project that called in a static hand-edited XML file to render some content in a Flash piece. I decided to use XFactorstudio's XPath implementation and try it out. Much to my surprise, the day I was trying to launch the project, I could not load the XML properly from a server, even though it worked fine when tested on a local Flash player client.
Typically, I use flashvars in my OBJECT and EMBED tags to leave me the option of changing the relative path to an XML file in one of my projects. I then just load the flashvar into the project. It keeps it from being hardcoded into the Flash interactive.
This time, I used a relative path (urlencoded) in the flashvar, and nothing happened. The XML wouldn't load. It WAS on a phsyically different server, but the relative path should've worked. Instead, the only way I could load the XML using Xfactostudio's XPath implementation was to use the FULL absolute URL in the flashvar (e.g.
http://www.website.com/xmlfile.xml).
Any ideas why this may have happened? Is that something that happens with XFactorstudio's XPath implementation?
Thanks,
IronChefMorimoto