加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

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

发布时间:2020-12-15 02:16:02 所属栏目:百科 来源:网络整理
导读:在flex中,翻转和鼠标悬停之间有什么区别? 它首先发生翻转,然后是鼠标悬停,然后是鼠标输出,然后是首次展示. 什么时候这些活动最合适? 解决方法 从 AS3 documentation: The mouSEOver event is dispatched each time the mouse enters the area of any chil
在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.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读