Hi, I am working on this game and I need to use Ajax to make file requests. Right now I have 2 text files (.txt) that I have imported. But I can only make one of them work. Is it possible to have 2 Ajax Objects like AJAX1 and AJAX2? Because I can't seem to find a way to do that.
I have checked the code, the tags are different. I posted a link to a screenshot. This image shows the request that is not working. the one that works is identical except for the fact that I create the text and make the request via a SIGNAL.
Now this trim(tokenat(AJAX.LastData,random(20,21),";")) is identical in both requests except for the random numbers in the brackets. Could this be it? Sorry I am a noobie.
The one below (see pic), doesn't work. I tried everything and even ended up creating a button to click on it and see if it would work. I hope I was clear enough.
Appreciate any help. Thanks.