Pass to edit field from array (DataGrid)
Hi, I have a custom datagrid, that draws an image in a cell, the image can be 1-10 as referenced in linkage, but when i edit the cell like this:
var prev = dgTiles.editField(i,""+inner,aArray[c]);
where c is the number in an array for which image to draw.
The Problem
This works:
var prev = dgTiles.editField(i,""+inner,7); //specifying just a number
This Doesnt - but i need this to work
var prev = dgTiles.editField(i,""+inner,aArray[c]);
btw the custom datagrid takes a number and depending on that number attaches a movieclip, passing the number, and that movieclip draws the image.
aaarrrgggghhhh
Any help appreciated, Chris
|