My movie isn't loading them all at the same time, it loads one, then when that's finished it loads the next.. The weird thing is it seems to try to load them before the function is even called.
Printable View
My movie isn't loading them all at the same time, it loads one, then when that's finished it loads the next.. The weird thing is it seems to try to load them before the function is even called.
Even when I make it so it only loads one photo, it spits out that error message
OK, the error comes up before anything on the site... I put trace("First"); on the first line of the first frame of the movie. And I get this error before that. It hadn't even called the function yet. And if I remove the call on the second frame, it goes away.. It's like it's looking ahead without calling anything.
These errors are only coming up when I press ctrl+enter twice in flash.. And I'm assuming this is the problem..
I tried just using this to simplify it, and got the error when I press ctrl+enter twice:
var loader:Loader;
loader = new Loader();
loader.load(new URLRequest("photos/bg-1.jpg"));
You have 2 IOErrorEvent listeners for IO_ERROR. Remove the second one and the function for ioErrorHandler (or move it outside your loadImage method)
Thanks, I took those out.. same thing...
When you test an swf like that should it give you that error?.. it doesn't seem like there's even any other way to write this:
var loader:Loader;
loader = new Loader();
loader.load(new URLRequest("photos/bg-1.jpg"));