AJAX get http://mysite.nl/myfile.xml

Just started using Construct 2? Post your questions here

Post » Tue Jun 17, 2014 2:44 pm

I need to get data from a xml file from my website, but I get no data with: AJAX get http://mysite.nl/myfile.xml
If I place the file in my project/Files/myfile.xml I get the data as expected
Please help
B
13
S
4
G
5
Posts: 8
Reputation: 3,800

Post » Thu Jun 19, 2014 5:10 am

:mrgreen: As if now we are not psych to understand what did you do in your capx! :mrgreen:
we need capx or take a screenshot of the event!
Every Game is a Good Game it's just few people like and few does not! Keep coding people some day you will be a "NOTCH".
B
21
S
6
G
3
Posts: 85
Reputation: 4,607

Post » Thu Jun 19, 2014 12:40 pm

Have you read the AJAX manual entry, particularly on how to make cross-domain requests?

(Moved from Open Topic to Beginner Questions)
Scirra Founder
B
387
S
230
G
87
Posts: 24,249
Reputation: 192,240

Post » Wed Jun 25, 2014 10:51 am

Thanks for the quick answers
I try to set cross-domains
B
13
S
4
G
5
Posts: 8
Reputation: 3,800


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests