Windows 8 Ajax and XML object

Get help using Construct 2

Post » Wed May 15, 2013 10:22 pm

I'm using the Ajax and the XML object to load an XML file containing words. This works perfectly when using the browser. But when I'm trying to use it in my Windows 8 app the app hangs. There are no visible errors the app just stops working. Has anybody any idea what could be the problem. Below is a screenshot of my Construct 2 events.

B
6
S
2
Posts: 6
Reputation: 946

Post » Thu May 16, 2013 9:28 pm

After testing multiple scenarios i have come to the conclusion that reading a XML file using XPath in a Windows 8 app is just extremely slow (more then a minute with a file that takes 0.5 seconds to load in construct 2 testing). Does anybody have an idea how to speed up this process in Windows 8?
B
6
S
2
Posts: 6
Reputation: 946

Post » Sat May 18, 2013 9:46 pm

I couldn't get XML reading any faster. I've switched to json and use the built in load function for json. This works like a charm.
B
6
S
2
Posts: 6
Reputation: 946


Return to How do I....?

Who is online

Users browsing this forum: Kagubro and 21 guests