开发者

ComboBox, is there an event for item hover?

开发者 https://www.devze.com 2022-12-26 05:08 出处:网络
I\'m using the <s:ComboBox> flex component which I suspect is very similar to the mx one <mx:ComboBox>

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
}
0

精彩评论

暂无评论...
验证码 换一张
取 消