Hi Guys
I do a lot of work with Flash and when you put a movie clip on top of another movie clip, the movie clip on the bottom will not respond to touches, unless you set the movie clip on top to -> mouseEnabled = false.
Is there a way that I can block a movieclips touch/click response in Gideros by putting another image/movieclip on top?
For example … A plane is flying and you can shoot it down by touching it, but only if it doesn't fly behind a building.
Thank you for any help
Comments
event:stopPropagation()
1. Is there a way I can set an objects property to do this or do I always have to attach an event listener that will stopPropagation?
2. Is there any way to treat an images Alpha channel as invisible? As it is a mostly transparent image sitting on top of other movie clips stops propagation even through see through areas.
Thank you for your help!
I take it there is no way to only disable propagation on non transparent areas of an image?
not yet, but maybe soon with Gideros 2? (read/set pixel)