This should be fairly simple but I can’t find a way to post all the rows in a datagrid to a page. If I post just the object i get “object [object]” (of course).
I tried doing this (looping over the grid and creating dynamic variables) I can’t get it to set the variable though
function submitAllRecipients(eventObj:Object)
{
var sendVars:LoadVars = new LoadVars();
for(i=0; i<recipientGrid.length; i++)
{
var currentRow = recipientGrid.getItemAt(i);
set("sendVars.Title" + i, currentRow.Title);
}
sendVars.send("http://localhost/misc/address/dumpFlash.cfm", "POST");
}