Hi
I have a Flex List which is databound to a Array. My problem is that when I reorder the List using the built in dragMoveEnabled, the values are reset to the original values.
I assume I need to somehow do a two-way databinding but I am not sure how.
<mx:List width="100%" top="20" id="uiItemList" dragMoveEnabled="true" bottom="0"
dragEnabled="true" dropEnabled="true"
dataProvider="{listArray}" >
<mx:itemRenderer>
<mx:Component>
<mx:HBox width="100%" height="25" >
<mx:CheckBox id="uiCheck" textAlign="center" selected="{data.IsDone}" mouseDown="event.stopImmediatePropagation();" />
</mx:HBox>
</mx:Component>
</mx:itemRenderer>
</mx:List>
[Bindable]
public var listArray : ArrayCollection = new ArrayCollection ();