has anyone been able to make this call actually work..or am i just missing the point....
isHitTestMasked
...in a loop...
1 2 3 4 5 6 | pictureObj[i] = display.newImage( pathStr ,0,0)--its 0,0 coz i move it later local themaskPathStr="masks/".."mask"..i..".png" local mask = graphics.newMask( themaskPathStr ) pictureObj[i]:setMask( mask ) pictureObj[i].isHitTestMasked = true pzObject[i]:addEventListener( "touch", onTouch ) |
there was a bug, and masking was not working, until the next daily build after latest stable release. If you have a subscription, download daily build 600 or later.
Thanks for the info...