Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有人有嵌套剪辑的电影剪辑有一个双击=真;物业工作。我可以让它工作的唯一方法是将mouseChildren设置为false,我需要它是真的!欢迎任何线索/想法!
Ĵ
doubleClickEnabled如果您还没有这样做,您可以尝试设置为 true。
doubleClickEnabled
您可以尝试通过检查目标名称来过滤点击事件。我猜你需要点击不同的功能,所以在每个功能中你可以决定你想让功能对什么目标(电影剪辑)做出反应。
函数clickHandler(事件:MouseEvent):无效 { if( event.target.name == theMovieClipINeed.name ) 火(); }