Forum Moderators: open
loadVariablesNum("data.txt",0,"GET");
And get this error when running a test:
Error opening URL "file:///C¦/Documents%20and%20Settings/Administrator/Desktop/SiteCandy/photogallery/data.txt?width=undefined&height=undefined&focusManager=%5Flevel0%2EfocusManager&tabChildren=true&tabEnabled=false"
I have tried placing the flash and files into a directory that doesn't have spaces in the name, but I get the same "Error opening URL" message for the new URL.
What's going on here? Before anyone asks: Yes, I am certain the file is there.
EDIT: I used to be able to use this process on local files with no issue. I can use getURL on the file, and it opens in IE.
In your case, where you only want to load a text-file with some simple vars in it, you can use this line instead:
loadVariables("data.txt", this);