vince85's Forum Posts

  • 4 posts
  • I have the same problem with an adress like google.com. The response is empty. I don't see what can blocking request.

    My c2 code is in attachment.

    Thanks for your help.

  • Hello I'm using Ajax Request not Ajax post.

    The file is in localhost/construct/ajaxExampleGet.php and i can access to him by enter the adress in my browser.

    ajaxexampleGet.php only display a message. There are not yet php just text.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hello,

    I'm using Firefox and i have installed Firebug. I attach a screenshoot of my request.

    When I entered the address into my browser: I get well "I'm a test file."

    When I look at the response tab of Firebug, it is empty despite a response "200 OK" visible on screenshoot.

    Someone should track?

    Thank you in advance

  • 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,

  • 4 posts