From what I can tell, if I load an AJAX object, I can then use that data as a string, from AJAX.LastData. If it's in the correct JSON format, I can then load that string as a table array?
Is this correct?
I'm running a local server on localhost:82 (LAMP stack)
This is what I have now:
on start of layout -> load localhost:82/phpfile.php with tag "sometag"
on "sometag" completed -> load array vocab from ajax.LastData
-> set variable numberOfColumns from vocab.width
Here is the format of my JSON file - It does pass as valid JSON:
{"c2array":true,"size":[7,4,1],"data":[[["I"],["w?"],["?"]],[["you"],["n�"],["?"]],[["him"],["t?"],["?"]],[["her"],["t?"],["?"]],[["it"],["t?"],["?"]],[["they"],["t?men"],["??"]]]}
Here is the .capx: http://dl.dropbox.com/u/12722403/flashCard.0.4.capx