How to make Ajax.request to work in localhost:50000

243 views Asked by At

Loading XML document only seems to work when the exported project is uploaded to web server?

How to make file request to work when running game in C2 dev.env. meaning localhost:50000

Ajax.request "xml/data.xml"
1

There are 1 answers

0
Tom On BEST ANSWER

It was just needed to import xml file into C2 project using GUI, under Files folder, solved!!