Help!!! How to read local xml files?

@James Chen
What happened the 2.1.5 version?
Parsing JSON has broken… can’t get thru
JSON.parse(cc.FileUtils.getInstance().getStringFromFile
Any ideas?

Pedro Kayatt wrote:

@James Chen
What happened the 2.1.5 version?
Parsing JSON has broken… can’t get thru
JSON.parse(cc.FileUtils.getInstance().getStringFromFile
Any ideas?

Where is cocos2dx 2.1.5?

Sry this is just for HTML5 2.1.5 that is said that has better compatibility with 2.1.4 of Cocos2d-x….

Pedro Kayatt wrote:

Sry this is just for HTML5 2.1.5 that is said that has better compatibility with 2.1.4 of Cocos2d-x….

Maybe you should post this issue in the sub forum of html5.
This forum is only for JSB.

Indeed… sorry, I just got mixed up.
I gonna post there as well!

TY James!

Is there a way to write to a local file?

john w wrote:

Is there a way to write to a local file?

as far as I know,
sys.localStorage