Hi,

Luke Vanderfluit wrote:
> Hi.
> 
> I have a textinput and combobox.
> Both dispatch a change event.
> Is there a way of discerning which type of event so I can take appropriate 
> action based on the type?
> 
> TextInput change dispatches flash.events.Event
> ComboBox change dispatches mx.events.ListEvent
> 
> Thanks.
> Kr.
> Luke.
> 

This should do it..

protected function handle(e:Event) {
   if (e is ListEvent) ...
}

cheers,
  - shaun

Reply via email to