Opacity Percentage?

Frank D. Engel, Jr. fde101 at fjrhome.net
Mon Dec 6 09:50:14 EST 2004


The blendLevel seems a better solution in this case, but getting back 
to the handler posted at the URL below, could it not be simplified even 
further:

on mouseUp
   put empty into aData
   put numToChar(128) into ch

   repeat for the number of chars in the alphaData of image 1
     put ch after aData
   end repeat

   set the alphaData of image 1 of aData
end mouseUp


On Dec 4, 2004, at 4:46 PM, David Kwinter wrote:

> You'll need to use images and manipulate their alphadata. See
> http://www.sonsothunder.com/devres/metacard/tips/imag005.htm
>
>
> ----- Original Message ----- From: "Rick Harrison" 
> <harrison at all-auctions.com>
> To: "How to use Revolution" <use-revolution at lists.runrev.com>
> Sent: Saturday, December 04, 2004 1:34 PM
> Subject: Opacity Percentage?
>
>
>> Hi there,
>> I wanted to create a bunch of different color filters
>> and to be able to change the opacity by percentages.
>> I thought I'd use a basic rectangle and see if I could
>> change the opacity so that the object beneath it
>> shows through.
>> So far I haven't found a way to do this in Revolution.
>> Is there a way?
>> Thanks in advance.
>> Rick
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
-----------------------------------------------------------
Frank D. Engel, Jr.  <fde101 at fjrhome.net>

$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$



___________________________________________________________
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com



More information about the use-livecode mailing list