I have an array of data objects that I would like to send from my .swf to a server-side script. I would like to loop through the array and assign a variable key name to each name-value pair, for example:
Code:
myVars = new URLVariables; for(i in objectArray){ var keyName = 'obj_' + i; myVars.keyName = objectArray[i].data; }