[ANN] AlphaStatus

Wilhelm Sanke sanke at hrz.uni-kassel.de
Wed Dec 27 15:55:04 EST 2006


On Wed Dec 27,2006, Scott Rossi scott at tactilemedia.com wrote:

> Here is a 2.6 compatible version, but without the translucency.
>
>  go url "http://www.tactilemedia.com/download/alphastatus_26.rev"
>
> If you want the display to be translucent, you'll have to replace the
> backing graphic with an image, since images are the only controls that can
> be translucent under 2.6.
>
> Regards,
>
> Scott Rossi
> Creative Director
> Tactile Media, Multimedia & Design


Hi Scott,

you can have the translucency of graphics in Rev 2.6 (and earlier, too), 
without substituting images for the graphics.

I demonstrated that some time ago when I changed your "GetInLine" stack 
accordingly (the changed version is included as one of the six examples in
<http://www.sanke.org/Software/DragWithListFields.zip> ).
I also make use of such a tranlucent graphic in my Imagedata Toolkit for 
selecting parts of the image to be duplicated and /or mirrored.

What is needed is a translucent-compatible combination of backcolor and 
ink of the graphic.

In the "on buildAlphaStatus pField"-handler of your card script of stack 
"alphastatus_26.rev" you could for instance add the two lines

"set the backcolor of the templategraphic to 180,180,180
  set the ink of the templategraphic to srcAnd"

and comment out

 "#  if version() >= 2.7 then set the blendLevel of the templateGraphic 
to 50".

For MacOS you need to set the ink of the graphic to "admin". -


Best regards,

Wilhelm Sanke

<http://www.sanke.org/MetaMedia/Samples.htm>






More information about the use-livecode mailing list