Showing/Hiding Images on mouseLeave...

Chipp Walters chipp at chipp.com
Fri Nov 15 22:53:01 CST 2002


Hey Igor,

check out

put img 1 into img 2

this way you don't have to 'unpack' them

If you're using tranparent images, you may have to:

set the width of img 1 to the width of img 2
set the imagedata of img 1 to the imagedata of image 2
set the alphadata of img 1 to the alphadata of image 2

I spent a lot of time working with images recently (butongadget)

I also recently wrote a 'skinnable' application and had to work around many
of the same issues.

-Chipp

> -----Original Message-----
> From: use-revolution-admin at lists.runrev.com
> [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Igor de
> Oliveira Couto
> Sent: Thursday, November 14, 2002 3:45 PM
> To: use-revolution at lists.runrev.com
> Subject: Re: Showing/Hiding Images on mouseLeave...
>
>
> Dear Jan,
>
> On Friday, November 15, 2002, at 08:27  AM, Jan Schenkel wrote:
>
> > A 'devious' workaround for this limitation would be
> > the following:
> > - store the entire collection of pictures in custom
> > properties (one per file with 'set the
> > uPictures[tFileName] of this stack to URL
> > "binfile:"&tFilePath')
> > - on openStack you 'unpack' the images, placing them
> > in a temporary directory
> > - then you point the fileName property of the image to
> > the 'unpacked' file in that temporary directory
> >
> > This way you still have only a single file.
> >
>
> OOOOOOOH! I like the sound of that! You genius!
> Sounds like a lot of work, but I will try that for sure!
>
> Many, many thanks, and
>
> Kind Regards,
>
> --
> Igor de Oliveira Couto
> ----------------------------------
> igor at pixelmedia.com.au
> ----------------------------------
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list