apache-flexairmouseeventblackberry-playbook

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.


Solution

  • With the very small amount of information given, it's hard to debug, but have you tried setting enabled=false?