Hello, i must create a system of static in flash.
The date are received into flash by socket, but i try with a file txt.
I want to use the datagrid component but a have some problem to populate
dinamically the component.

I have some problems to add item beacuse this action is wrong:


var anObject= {name:"Jim!!", age:30};
var addedObject = myGrid.addItem(anObject);

dinamically

// after populate two array:

var anObject= {name_array[0]:data_array[0]}
var addedObject = myGrid.addItem(anObject);

If i write name of column all work.

i make an example:

[url]www.prestigiacomouomo.it/grid.zip[/url]


sorry for my english but i'm an italy web developer