Thank you

On Mon, Jun 30, 2008 at 3:50 PM, Alex Harui <[EMAIL PROTECTED]> wrote:

>    Programmatic changes rarely fire CHANGE events.  The "valueCommit"
> event should fire no matter how you change it.
>
>
>  ------------------------------
>
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *oopdog
> *Sent:* Monday, June 30, 2008 1:14 AM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] Combo and 'change' event
>
>
>
> Hello
>
> at certain points I am changing the selectedIndex of a combo
> programmatically ( e.g. mycombo.selectedIndex = 5)
>
> In my MXML I declared something to happen on the 'change' event:
> <mx:ComboBox id="mycombo" change="vo.combovalue=mycombo
>
> .selectedItem.data"/>
>
> When I change the selectedIndex programmatically this doesn't run. Do I
> have to manually dispatch the 'change' event myself or is there a better way
> to programmatically change the combo as if a user had actually changed it?
> (for example, like ArrayCollection's  'itemUpdated()' method?)
>
> Thanks
>
>  
>

Reply via email to