Set useHandCursor = false for button to disable events behind it

I had this problem in Flash, which entailed disabling some dynamic buttons that had mouseover,mouseout and click events when they were moved under a certain area. This was easily solved by creating an invisible button and setting the property useHandCursor = false. So if you want to disable anything that moves under some area, you can just create a button and set its useHandCursor = false and anything below it will not work. I’m pretty sure I came across this problem before because it seems so familiar. Hopefully this post will help me remember how to solve it and others if they come across this problem as well

Tags: , , ,

Leave a Reply