Hi, I'm new to Construct 2 (I've been using it for three days) and I'm having trouble with AJAX.
I am hoping to make a call to a URL to access an XML file, as this XML will be updated regularly using a web interface and PHP/HTML form, the XML file needs to be accessed using the AJAX request instead of loading it as a string.
I'm having trouble as it appears that the AJAX request is not completing. So far my file looks something like this:
System> On Start of layout> AJAX> Request "URL" (tag"xml")
AJAX> on "xml" completed > XML> Load XML document from string AJAX.LastData > set text to "click here"
Mouse> on any click> Text> Set text to XML.StringValue("/game")
I'm using Xampp to preview and I have been exporting the project file to htdocs and then testing and on click the text changes to /game however it does not at any point change to Click Here which suggests to me that the AJAX request is not completing.
Any advice for a newb? Thank You in advance.
p.s. please forgive me if this is in the wrong area on the forum.