Are we talking about the same thing? :
[text]
Submitted on 13 Jul 2011 - 03:43
Submitted by user: culutas
Bug title: Masked images still generates touch events for invisible area
Bug description:
I am trying to generate touch events for non-rectangular shapes. i created
image and a mask, i applied the mask, the masked image successfully on the
screen. but it still generates touch events for invisible area.
isHitTestMasked set to true.
[/text]
And here is the reply i got for this bug report :
[text]
Hi culutas,
It’s confusing but the touch sensitive area corresponds to the mask image
shape and is therefore always rectangular, regardless of the actual image.
The masking is only visual. You can see this in the Flashlight sample project,
set the isHitTestMasked to true and you will be able to drag the flashlight by
the corners (even though you can’t see them).
Currently if you want to detect touches on a complex shape you must do this
either by simulating the contours of the object using other invisible objects,
or by writing your own custom touch listener.
We will try to improve our documentation to make this more clear.
Sorry for the confusion!
Best regards,
Ansca Bugs
bugs@ansca.net
[/text]
**Do I understand right? Reply says image masking is not supposed to mask touch events according to actual image but its rectengular shape. And in this thread i hear the opposite, that there is a bug in the sdk.
Do I get everything right? Again, are we talking about the same thing?**
[import]uid: 46529 topic_id: 11139 reply_id: 47948[/import]