Hey guys!
I am stuck at a problem, it sounds complicated at least for me. So I will try my best to explain.
I have a list of an array with IMG urls. And on my home page I have set for loop to create sprite objects with those images randomly.
Now What I want is, whenever those images are clicked on Home page, I want to load JSON file related to that image.
For example:
On the home page, I have 2 images from Quizlist array at X0,Y1 and X0, Y2 axises.
When Image One clicked I want to load a JSON file named "Quiz1" and when 2nd image clicked, I want to load "Quiz2"
I tried loading via ajax but it doesnt allow us to add custom expressions.
BTW, The Images that gets loaded on Home Page will be random, so I want to load corresponding JSON files when those images clicked.
I hope I have explained correctly if you still need more info to help me, please feel free to ask.
This is urgent, my work has been stopped just because of this one thing.
This is the image of my event sheet right now!
Thanks in advance <3
WackyToaster
Ashley