本文介绍了点击下面打的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有在UIComponent,它位于目视一个网格,这也是一个UIComponent的顶部。网格和坐在上面的UIComponent在不同的分支。该网格有孩子这是精灵。当MousEvent.CLICK被分派它关系到在上面的UIComponent。我希望它做的是网格的元素下面。这可能吗?
I have a UIComponent that sits on top of a grid visually, which is also a UIComponent. The grid and the UIComponent that sits on top are on different branches. The gird has children which are Sprites. When the MousEvent.CLICK is dispatched it goes to the UIComponent on top. What I want it to do is go the element of the grid underneath. Is this possible?
推荐答案
我所要做的只是做出的UIComponent之上 top.mousEnabled = FALSE
What I had to do was just make the UIComponent on top top.mousEnabled = false
这篇关于点击下面打的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!