I have a table with a single record in it and I've been trying to read it with not too much luck. Tried a couple of ideas one was using try and catch which seemed to work but has stopped working for some unknown reason. This is my latest attempt to load an ArrayCollection.
Anybody got any suggestions? if (event.result.response.data != null) { if (event.result.response.data.row[0].usrid) { // Deal with many rows memberData=event.result.response.data.row as ArrayCollection; } else { // Deal with a single row. var rcd:Object=new Object(); rcd.usrid=event.result.response.data.row.usrid; rcd.grpid=event.result.response.data.row.grpid; rcd.membstatus=event.result.response.data.row.membstatus; memberData=new ArrayCollection(); memberData.addItem(rcd); } else { // Deal with no rows. memberData=new ArrayCollection(); }