txtfile (imageurl.txt):
img=http://www.image.com/images/home_wedding_pic.jpg
swf:
loadVARS = new LoadVars();
loadVARS.onLoad = function(success) {
if (success) {
img_container.loadMovie(this.img);
} else {
trace("FAILED");
}
};
loadVARS.load("imageurl.txt");
This works when I hit ctrl+enter to test within the flash GUI, but not when I open the swf from my computer. wtf!
However, having a flash file with ONLY the following:
img_container.loadMovie("http://www.image.com/images/home_wedding_pic.jpg");
This works in flash and even from the swf itself! Somethings fishy with the loadvars method.
Using CS3, AS2.0. Thanks!