with code like the following you can restrict the sensitive area to the non-transparent part of the image: on mouseUp me s=sprite(me.spriteNum) m=s.member col=m.image.extractAlpha().getPixel(the mouseloc-point(s.left,s.top))
if col=0 then return -- or use ilk(col)<>#color if col.paletteIndex=0 then return
alert("MOUSEUP") end
You can also set the alpha threshold.
-Kurt
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
