First of all, thank you for your answer!
I set auditSize to false in the LoaderMax and set the estimatedBytes for each loader, but this did not solve the problem...
To answer your questions:
1) The version of the LoaderMax i'm using is 1.52. I just noticed the latest is 1.761. I'll definitely try that new version!
2) I didn't, yet... I will try that. I will also try loading the file directly from the remote server, shipping around the 302 redirect.
3) The problem is that this only happens on this one specific server to which i don't even have direct FTP access... But i can PM you a link to the preview where you will see the problem.
Here is the code i'm using to load the assets:
private function loadMainAssets(event:Event = null):void
{
loader_main = new LoaderMax( { maxConnections : 1, auditSize : false } );
loader_main.addEventListener(LoaderEvent.IO_ERROR, function(e:LoaderEvent):void { trace("error occured with " + e.target + ": " + e.text); } );
loader_main.addEventListener(LoaderEvent.ERROR, function(e:LoaderEvent):void { trace("error occured with " + e.target + ": " + e.text); } );
loader_main.addEventListener(LoaderEvent.CHILD_FAIL, function(e:LoaderEvent):void { trace("error occured with " + e.target + ": " + e.text); } );
loader_main.addEventListener(LoaderEvent.OPEN, loaderOpen);
loader_main.addEventListener(LoaderEvent.COMPLETE, loaderComplete);
loader_main.addEventListener(LoaderEvent.PROGRESS, loaderProgress);
try{ loader_main.append(new ImageLoader("gfx/logo.png", { name:"logo", estimatedBytes: 50194 } )); } catch (e:Error) { trace(e); }
try{ loader_main.append(new ImageLoader("gfx/cursor_new.png", { name:"cursor", smoothing: true, estimatedBytes: 2919 } )); } catch (e:Error) { trace(e); }
try{ loader_main.append(new ImageLoader("gfx/cursor_new_hover.png", { name:"cursor_hover", estimatedBytes: 2802 } )); } catch (e:Error) { trace(e); }
try{ loader_main.append(new ImageLoader("gfx/menu_bg_1.png", { name:"menu_bg_1", estimatedBytes: 34604 } )); } catch (e:Error) { trace(e); }
try{ loader_main.append(new ImageLoader("gfx/menu_bg_2.png", { name:"menu_bg_2", estimatedBytes: 31109 } )); } catch (e:Error) { trace(e); }
try{ loader_main.append(new ImageLoader("gfx/menu_bg_3.png", { name:"menu_bg_3", estimatedBytes: 37859 } )); } catch (e:Error) { trace(e); }
try{ loader_main.append(new SWFLoader("gfx/assets.swf", { name:"assets", autoPlay:false, estimatedBytes: 1189071 } )); } catch (e:Error) { trace(e); }
try{ loader_main.append(new SWFLoader("gfx/videoplayer.swf", { name:"videoplayer", autoPlay:false, estimatedBytes: 27372 } )); } catch (e:Error) { trace(e); }
try{ loader_main.append(new SWFLoader("gfx/worldbuttons.swf", { name:"worldbuttons", autoPlay:false, estimatedBytes: 44907 } )); } catch (e:Error) { trace(e); }
try{ loader_main.append(new SWFLoader("gfx/thumb.swf", { name:"thumb", autoPlay:false, estimatedBytes: 7734 } )); } catch (e:Error) { trace(e); }
try{ loader_main.append(new SWFLoader("gfx/ui.swf", { name:"ui", autoPlay:false, estimatedBytes: 20516 } )); } catch (e:Error) { trace(e); }
try{ loader_main.append(new SWFLoader("gfx/agerating.swf", { name:"agerating", autoPlay:false, estimatedBytes: 6499 } )); } catch (e:Error) { trace(e); }
try{ loader_main.append(new XMLLoader("xml/dkcr_" + regio_language + regio_country + ".xml", { name:"xml", estimatedBytes: 26000 } )); } catch (e:Error) { trace(e); }
try{
loader_main.load(true);
} catch (e:Error) { trace(e); }
}
I think the easiest, but dirty solution is to directly load the files from the URL they're being redirected to. I'm beginning to think it's a bug in the content delivery network software that makes the redirects...
Thank you again!