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.
No on hover event, but there is a mouseOver event that should be able to do what you want.
Try this...
CMM_name.dropdown.addEventListener(MouseEvent.MOUSE_OVER, func_name);
function func_name(e:Event){
//DO SOmthing
}
精彩评论