微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

flex – 翻转和鼠标悬停之间有什么区别?

在flex中,翻转和鼠标悬停之间有什么区别?

它首先发生翻转,然后是鼠标悬停,然后是鼠标输出,然后是首次展示.
什么时候这些活动最合适?

解决方法

AS3 documentation

The mouSEOver event is dispatched each time the mouse enters the area of any child object of the display object container,even if the mouse was already over another child object of the display object container. This is different behavior than the purpose of the rollover event,which is to simplify the coding of rollout behaviors for display object containers with children. When the mouse enters the area of a display object or the area of any of its children from an object that is not one of its children,the display object dispatches the rollover event. The rollover events are dispatched consecutively down the parent chain of the object,starting with the highest parent that is neither the root nor an ancestor of the relatedobject and ending with the object.

原文地址:https://www.jb51.cc/flex/174190.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐