Transparent Images

Rob Cozens rcozens at pon.net
Wed Nov 13 11:41:01 EST 2002


>All transparent pixels in  images ignore mouse events.
>How can I change this?
>I wuold like transparent pixels of my images  answer to mouse events and I
>do not want to set the image as the icon of a button.

Bon journo, Paolo:

Place a button with this handler behind the image:

on mouseUp
    send mouseUp to image [your image name or "id" + image id here]
end mouseUp

Ciao!
-- 

Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.com/who.htm

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)



More information about the use-livecode mailing list