Re: [flexcoders] List.selectedIndex=0; <- how do i fire "change" event?

2005-07-02 Thread Clint Modien
List.dispatchEvent({type:"change"}); On 7/2/05, heybluez <[EMAIL PROTECTED]> wrote: Ok...silly question.I have a list with a change event.  I would like to be able to set theindex via actionscript like so:List.selectedIndex=0;This will highlight the right item but it will not fire the change eve

[flexcoders] List.selectedIndex=0; <- how do i fire "change" event?

2005-07-02 Thread heybluez
Ok... silly question. I have a list with a change event. I would like to be able to set the index via actionscript like so: List.selectedIndex=0; This will highlight the right item but it will not fire the change event. I am wondering how I can make it know that the list changed? Thanks, Mic