views:

187

answers:

1

I'm using the <s:ComboBox> flex component which I suspect is very similar to the mx one <mx:ComboBox>

What I'm trying to do is listen to the event of the mouse moving between the items of the list. There's a change event, but it kicks in only when the item is clicked/selected from the list.

What event would I need to listen for when items are just hovered over. I tried finding over and hover but couldn't find something to that effect.

A: 

No on hover event, but there is a mouseOver event that should be able to do what you want.

invertedSpear
This is for the comboBox itself, not each of its items. Does that mean I'd have to create an event listener for each item of the comboBox, that sounds a little too painful and well too painful.
nick
The dropdown portion of the comboBox is actualy a list. If you extend the comboBox you should be able to add the mouse over to that list to do what you want.
invertedSpear
@invertedSpear Not sure if that's really needed. I've tried doing something like `myCombo.dropDown.addEventListener(ListEvent.ITEM_ROLL_OVER, someHandleEvent);` but had no luck. I doubt I need to extend the comboBox though because something like this seems to work in Flash.
nick