Bernd kindly posted this approach years ago: > here is a little script that sets the alphaData (the data for = transparency) just from 0 (completely transparent) to 1 (hardly = noticeble less transparent). > Sometimes one wants to stick to image nonetheless. >=20 > This only applies to images with transparent areas, usually png. >=20 > Transparent parts of your image will now get the mouse events.
> on mouseUp > put the alphaData of image "myImage" into tData > put the length of tData into tHowOften > put numToChar(0) into tTrans -- transparent > put numToChar(1) into tAlmostTrans -- almost transparent > repeat with i =3D 1 to tHowOften > if char i of tData =3D tTrans then put tAlmostTrans into char i = of tData > end repeat > set the alphaData of image "myImage" to tData > end mouseUp Jim Lambert= _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode