Hi
I'm using PreloadJS to load resources for a game I'm developing, and noticed that it does not work in IE9, on both desktop and Windows Phone.
I am not sure what is the cause at the moment, but in short the loading code is as follows:
...
var preload = new PreloadJS();
var assets = [];
for (var i = 0, resources = config.PRELOAD_RESOURCES.images, length = resources.length; i < length; i++) {
assets.push(config.APP_IMG_RESOURCE_URL + resources[i]);
}
for (var i = 0, resources = config.PRELOAD_RESOURCES.sfx, length = resources.length; i < length; i++) {
assets.push(config.APP_SFX_RESOURCE_URL + resources[i]);
}
preload.loadManifest(assets);
...
where config.PRELOAD_RESOURCES.images is defined as:
//Excerpt
config.PRELOAD_RESOURCES = {
images: [
"a.png",
"b.png",
... //Excluded for brevity
],
sfx: [
"a.mp3",
"b.mp3"
... //Excluded for brevity
]
};
To add, in the affected browsers (IE), I do not see any network requests going out at all.
Any help will be appreciated. Thanks!
EDIT:
I also noticed IE throwing the following error:
SCRIPT438: Object doesn't support property or method 'overrideMimeType'
preloadjs-0.1.0.min.js, line 37 character 17