I've set up an application that gets data from a data service
configured with a java-dao adapter. If I define a DataGrid
array populated by the fill method I see the data in the
So I know I've configured and coded everything correctly.
However, if I try to access the data with the following code,
appears my array is empty!
ray = new ArrayCollection();
ds = new DataService("assets");
var asset:Asset = ray;
This gives me an index '0' out of bounds error. I've also
ray.getItemAt(0) with the same results.
How do I access and manipulate the results of a fill method
ActionScript? I'm currently using Beta3.
Note that it takes time to actually make the dataservice call
and retrieve the results. Your data won't be available right away.
After calling fill(), you have to wait for the "result" event of
the DataService object.