myurl = "";
loadVARS = new LoadVars();
loadVARS.onLoad = function(success) {
if (success) {
myurl = loadVARS.img;
img_container.loadMovie(myurl);
} else {
trace("FAILED");
}
};
loadVARS.load("C:\\Documents and Settings\\reefolus\\Desktop\\Image Load\\IMAGEURL.txt");
Whats going on here? I open IMAGEURL.txt, which contains a variable named “img” with a value in it. I call that value and set it to myurl. Then, I load myurl’s image into img_container.
This works when I test the swf while flash open, but not while I test in the standalone swf thats exported on my computer, or on a browser. Something about internet settings came up as well, til I published to “allow network only”.
Anyways, how to fix???