Hi im new to this great framework
I am trying to build a simple puzzle with the trial version
but have some problem with the “isHitTestMasked”
********************
function scene:createScene( event )
local group = self.view
local image = display.newImageRect( “gfx/puzzle/1.png”, 631, 550 )
local mask = graphics.newMask( “gfx/puzzle/img.png”, 631, 550 )
image:setMask(mask)
image.isHitTestMasked = true
image:addEventListener( “tap”, myListener )
group:insert(image)
end
********************
some how it always fires the tap event
i read some where on this forum that it was a bugg like this before
so my question is
is it still a bugg or is there something wrong with my code
if my code i wrong please give me some help
Thank you
Regards
Jens
(sorry for the bad English) [import]uid: 147488 topic_id: 26020 reply_id: 326020[/import]
[import]uid: 52491 topic_id: 26020 reply_id: 105390[/import]