I have been using some swfs on my site to load database data without a problem. My loadVars object uses a relative url from which to pull the info -
System.useCodePage = true; (this is necessary as I’m dealing with multiple languages)
loadText = new loadVars();
loadText.load(“func/data.php”);
loadText.onLoad = function() {
topbar.htmlText = this.topbar;
};
The problem is that to make my site more user friendly, I have been using apache’s mod_rewrite
so now, my page
www.mysite.com/country.php?country=Sweden
is being mod_rewritten to
www.mysite.com/destinations/Sweden/ (or vice-versa)
So I have tried using an absolute url in place of the relative one, i.e.
loadText.load(“http://www.mysite.com/func/data.php”);
but with no luck - the data won’t load.
My flash file is in a separate directory -
www.mysite.com/flash/flashfile.swf
Anyone have any ideas? Ideally I would be able to just use an absolute url, and I’ve seen examples of this being used - why might it not be working here?
Thanks -