Hello,
I'm new with Construct 2 and i try to use Ajax Object on my project. Sorry if my english is bad, I'm french .
I have follow this tutorial : and i have problem when i would print data from my Ajax Request. I'm working on local network.
I have created a Sprite and when i click on it, i launch Ajax Request to get data from a file. My Ajax request completes successfully but I can't recover the data. I tried to display the data in a field "Text" with AJAX.LastData property but nothing appears. By changing the field "Text" with an arbitrary value, the change is made when the Ajax request completes.
I activated the Access-Control-Origin on my browser. If I get the address of the file directly in my browser, the text is displayed correctly.
My file contain : "I'm a test file" but nothing is displayed on "Text" Field.
Have you an idea of what can block?
Thank you in advance,