Hello i have a datagrid in my project and i have the following error:
warning: unable to bind to property 'name' on class 'Array' (class is not an IEventDispatcher)
Here is where i assign the data:
var myarr:Array = [];
packageData = packageData=SharedObject.getLocal("local_data");
for (var packageId:String in packageData.data.packages) {
myarr.push(packageData.data.packages[packageId])
}
cur_uploads = new ArrayCollection(myarr);
dg_uploads.dataProvider = cur_uploads;
Ive read that i should use a proxyObject but i cant convert my Array to an Object. So is there any other solution to get rid of the error?
Here is what I do :