Showing/Hiding Images on mouseLeave...

Chipp Walters chipp at chipp.com
Sat Nov 16 22:01:01 EST 2002


Igor wrote:

> Your suggestion is along the same line as the suggestions given by Jan
> and Terry, which were all extremely helpful. Indeed, I went the way of
> setting imageData and alphaData, and that works quite well. One little
> word of advice to others who need to implement this: set the alphaData
> BEFORE setting the imageData, otherwise for some reason the screen does
> not redraw properly using the new alphaData information...

Rob,

I *think* the original effect was to be able to take an image with a
transparent channel and use it as a button with only the trans channel as
'clickable.' Then swap it with 2 other images on mouseOver and mouseDown
(typical button behavior).

I believe this is an acceptable 'workaround' which Kevin referred to. BTW,
in order to do something like this in VB, you'd have to use or write and
ActiveX control! I wonder if RealBasic can do this? Or SuperCard?

-Chipp






More information about the use-livecode mailing list