I've set up an application that gets data from a data service
configured with a java-dao adapter. If I define a DataGrid
with the
array populated by the fill method I see the data in the
grid. Cool.
So I know I've configured and coded everything correctly.
However, if I try to access the data with the following code,
it
appears my array is empty!
ray = new ArrayCollection();
ds = new DataService("assets");
ds.fill(ray);
var asset:Asset = ray[0];
This gives me an index '0' out of bounds error. I've also
tried
ray.getItemAt(0) with the same results.
How do I access and manipulate the results of a fill method
via
ActionScript? I'm currently using Beta3.