I have two movie-clips, one is small-box and another is big-box .Both are rectangular shape. Small- box has an index 0, and big-box has an index 1. Their x,y are same and big-box being big in size gets hide small-box. Now the problem is the listener attached to small-box does not fire as big-box is on the top of small-box. what would be the way to get开发者_开发知识库 listener fired when click on small-box area??
Set mouseEnabled = false
on the clip covering your button to make clicks go trough to objects below. If your boxes have children of their own, you may also need to set mouseChildren = false
.
精彩评论