Hi. I was experimenting with new html5 function, but the game I was making stopped working after I updated Corona to the latest daily build. Before updating, the game worked fine, without any changes in its code.
The game works good inside the corona simulator and when built for win32, but when I try to run it on the browser it shows the “Expection thrown, see Javascript console” text, before showing the normal Corona loading screen.
When running on the simulator it shows no error message in the console and I tried to make a new project and then copy the entire build.setting table in the new one, and it works good. So the problem must not be there.
The problem seems related to resource loading: on the firefox console I can see many errors (but I don’t really know what they mean):
It starts with the line:
“Error: File exists”
Then it shows many lines like this:
[post-exception status] Preparing… (1/167)
[post-exception status] Preparing… (2/167)
…
When opened those line show:
printErr file:///C:/Users/mirco/Documents/Corona%20Built%20Apps/MyGame/index.html:81:13 window.onerror/Module.setStatus file:///C:/Users/mirco/Documents/Corona%20Built%20Apps/MyGame/index.html:124:21 monitorRunDependencies file:///C:/Users/mirco/Documents/Corona%20Built%20Apps/MyGame/index.html:115:11 removeRunDependency blob:null/9cc7ba89-4b2b-484a-88e3-9e553467b2ed:1:36550 finish blob:null/9cc7ba89-4b2b-484a-88e3-9e553467b2ed:1:187146 img_onload blob:null/9cc7ba89-4b2b-484a-88e3-9e553467b2ed:1:101166
And at last, sometimes a line like this appears:
Preloading file /MyImage.png failed
I checked it for any image in my project, and there seems to be a problem loading any of them.