Hello all, Whenever I try to change the selectedIndex in a comboBox, if the selectedIndex is different from the current selectedIndex, it dispatches 2 valueCommit events instead of 1!! If I change it to the same index, it just dispatches one! :o
Here's an example: <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"> <mx:Script> <![CDATA[ import mx.collections.ArrayCollection; [Bindable] private var dp: ArrayCollection = new ArrayCollection( [ 1,2,3,4 ] ); ]]> </mx:Script> <mx:Button label="change" click="foo.selectedIndex = 3" /> <mx:Button label="change2" click="foo.selectedIndex = 1" /> <mx:ComboBox id="foo" dataProvider="{ dp }" prompt="Hello" valueCommit="trace( 'Event ' + event.type )" /> </mx:Application> Is this a bug?? Thank you in advance Alberto