Flex/AIR Playbook, stop mouse from propagating to view behind this
I have a Sprite 开发者_开发百科displayed on top of my view which houses a scroller with a map in, the sprite is a menu, and I want to stop the user from swiping their finger around on the menu and having the map scroll in the background, it looks silly.
How do I go about stopping swipes over the menu from passing through the the map behind it?
I have tried setting:
mouseEnabled = false;
but that had no effect.
With the very small amount of information given, it's hard to debug, but have you tried setting enabled=false?
I'm not sure if this works with touch interfaces, but try mouseChildren = false;
Possibly you're seeing a manifestation of this PlayBook/AIR bug.
Have you tried:
mouseChildren = false;
//useHandCursor = true;
buttonMode = true;
精彩评论