Loading Variables not working on server but works FINE locally
I have one .swf that loads a second one on level 2.
level 2 then in turn loads variables from a text file .
The problem is that it works locally, but refuses to work on the server. The urls are all local.
This is such a simple procedure, I can't figure out what is wrong..... are there limitations doing this via server vs. locally?
I never get any "file open" errors locally. I've spent 2 hours on this....
any help would be appreciated.
I'm just using a simple LoadVars similar to this example:
Code:
loadText = new LoadVars();
loadText.load("text3.txt");
loadText.onLoad = function(success) {
if (success) {
//trace(success);
newsBox.html = true;
newsBox.htmlText = this.myNews;
}
};
the text file on the server is an ASCII file with permissions of 644 on my server.
Thanks in advance.