----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 08, 2000 6:05 AM
Subject: [REBOL] /View transparent gif's color
>
> Hi, Rebolians
>
> How to make gif's transparent colour be transparent?
>
> -Pawel
>
>
>
Hi Pawel,
Use the 'key effect, the key color is the color that will become
transparent.
trans-image-face: make face [
image: load %image.gif
size: image/size
color: none
effect: [key 192.192.192]
]
You can also make colored transparent elements, without having an image.
You just need to make sure that both image and color are set to none or -1
The other thing to remember is the the z order of a pane is determined by
the order of the
elements in a layout. First items are at the back, later are to the front.
attached are two little demos. which show how to stylize and VID to achieve
transparency.
%smile.r uses the 'key effect
Cheers,
Allen K
smile.r
fish.r