I've got the following model in my MXML app (bound to a column chart control):
<mx:Model id="sampleData">
<items>
<item>
<Month>January</Month>
<Sales>1000</Sales>
<People>3</People>
</item>
<item>
<Month>February</Month>
<Sales>1200</Sales>
<People>5</People>
</item>
</items>
</mx:Model>
and by using the FABridge I want to change the data within JavaScript:
flexApp.getMyLabel().setText("Updated via JavaScript!");
var sampleData = flexApp.getSampleData();
sampleData[1].Sales=50;
however the last line seems to not work. How do I make it work?
Your help is greatly appreciated.
R.
<<attachment: winmail.dat>>

