construct 2 IE not traversing XML

For developers using the Construct 2 Javascript SDK

Post » Fri Mar 07, 2014 10:31 am

Hi all - first post.

Im trying to get Construct 2 to traverse XML. I can get this working with a project XML file for Firefox and Chrome but IE just doesn't work.

I have tried using the Ajax object to load the project XML file and then create an XML object from this. I can't use any XML.NodeCount(), XML.StringValue() or for each node with IE - it always returns 0 or undefined.

Any ideas what else i should try?

Thanks
B
3
Posts: 2
Reputation: 179

Post » Fri Mar 07, 2014 12:45 pm

Ok, so I got it working - the problem was it was running in an iframe and the sandbox="allow-same-origin allow-scripts" was preventing it functioning. Removing this made it work. Don't really understand why but now works in IE9-11.

May help someone knowing this. Thanks.
B
3
Posts: 2
Reputation: 179


Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 0 guests