Hi,
I encountered a very strange (now it going to be realy frustrating) problem (probably bug) while loading multiple images from IE. Flash is very simple (code is stripped version of match larger program) it contains simple for loop that loads image 20 times, and COMPLETE handler that position image.
Running application from Flash IDE is ok, but if user run flash embeded into html from IE (IDE auto generated html) and interrupt loading (closes IE tab (not whole IE, just tab)) next load of same html stop working. What is event more strange, is that image url entered in addres field of IE will not work?!?!
To conclude, to reproduce this behavior: run html from IE and close tab in middle of loading process (after few images loaded). Running html again will not work (or typing image url into address). NOTE that tab must be closed (not whole IE). Closing IE and running html again will work normaly.
ActionScript Code:
// flash have TextArea named 'trt' on stage (x:319, y:15, w:135, h:366)
var nxy:Number = 0;
for (var i=0; i<20; i++) {
var loader:Loader = new Loader();
loader.load(new URLRequest("http://maptp12.map24.com/map24/webservices1.5?action=renderMapImage&cgi=Map24RenderEngine&mid=EVAL_MAPNETWORK_NT_EUROPE&cgi=Map24RenderEngine&iw=256&ih=256&cmd0=MOV&nav0=NORTHWEST&x0|0=100&y0|0=80"));
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onLoadComplete2); }
function onLoadComplete2(e:Event) {
trt.text += "LOADED
";
var l:Loader = e.target.loader;
l.x = l.y = nxy;
nxy += 10;
addChild(l);
}
stop();
// end of code
I reproduce same behavior on Vista with IE7 and on XP with IE7. On firefox it works ok.
Note that upper code is part of map viewer that loads tiled map (images 256x256). I googled for other viewers and all of them have same issue, even flash yahoo maps have same issue, www.flashearth.com too, and also google flash based map have sam error.
I did not know is this IE error or Flash player fault, but it works fine under Firefox.
Also, there are no simultanous donwload limits or whatever, it can be reproduced with prerendered images from localhost.
Best.