[Resolved]Run game inside a server

[Resolved]Run game inside a server
0.0 0


I make a test using hte HelloHTML5World example and it run ok.
But all other samples inside cocos2d-html5 need to run inside a server to run correctly.
Why is the diffence between the helloworld sample and all others samples?


If some files are required by xmlhttprequest, it should be loaded from web server, not local files, such as xml, plist, etc.

HelloHTML5Word only uses js, image, so it can load from local files.


Ok, I understand, thanks for the information