Routing Mouse Events through a Sprite in Actionscript 3

后端 未结 1 1856
庸人自扰
庸人自扰 2020-12-21 16:27

In a pure Actionscript 3 project, I have a sprite that overlaps another sprite. The lower sprite normally handles mouse clicks. The lower sprite no longer processes mouse

相关标签:
1条回答
  • 2020-12-21 17:05

    Should be something like this:

    higherSprite.mouseEnabled=false;
    higherSprite.mouseChildren=false;
    
    0 讨论(0)
提交回复
热议问题