开发者

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;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜