Re: Opacity Percentage?

2004-12-06 Thread Frank D. Engel, Jr.
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 
[EMAIL PROTECTED]
To: How to use Revolution [EMAIL PROTECTED]
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
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

---
Frank D. Engel, Jr.  [EMAIL PROTECTED]
$ 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
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Opacity Percentage?

2004-12-06 Thread Gordon
Dear Rick

I experimented with this problem and it seems to have
a really straightforward solution (unless I
misunderstand the problem) ...

I created empty image areas on a card and then used
the fill tool (in the graphics tools at the bottom
of the toolbox) to fill them with colors (e.g. red,
green  blue). If I then set the blend property to
on by checking the box on the property inspector for
each image area, I could manually set their opacity
using the slider on the property inspector, or in a
script, by using a command of the form:

set the blendLevel of image myImage to 50

This seems to have the desired effect for creating
colored semi-transparent filters. I guess the colors
are innacurate unless you do some more fancy screen
calibration - but is this what you were trying to
achieve?

Best

Gordon




--- Frank D. Engel, Jr. [EMAIL PROTECTED] wrote:

 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
 
  [EMAIL PROTECTED]
  To: How to use Revolution
 [EMAIL PROTECTED]
  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
  [EMAIL PROTECTED]
 

http://lists.runrev.com/mailman/listinfo/use-revolution
 
  ___
  use-revolution mailing list
  [EMAIL PROTECTED]
 

http://lists.runrev.com/mailman/listinfo/use-revolution
 
 

---
 Frank D. Engel, Jr.  [EMAIL PROTECTED]
 
 $ 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
 
 ___
 use-revolution mailing list
 [EMAIL PROTECTED]

http://lists.runrev.com/mailman/listinfo/use-revolution
 

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Opacity Percentage?

2004-12-06 Thread Rick Harrison
On Dec 6, 2004, at 10:12 AM, Gordon wrote:
Dear Rick
I experimented with this problem and it seems to have
a really straightforward solution (unless I
misunderstand the problem) ...
...
Gordon


Gordon,
You must have missed my last post.
That was the approach I ended up using, and it works great.
My initial problem was that the Rev documentation didn't show
me a cross reference when I was searching it for opacity.  Once
I understood that I needed to use Blendlevel everything fell
into place.
Thanks for responding!
Rick
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Opacity Percentage?

2004-12-05 Thread Rick Harrison
On Dec 4, 2004, at 5:39 PM, Scott Rossi wrote:

Create an image object, fill it with a color, and set its blendLevel 
to a
value from 0 to 100.

Regards,
Scott Rossi
The blendLevel setting works perfectly!
I hooked it up to a slider bar so I can watch the color changes
in real time.
Four lines of code did it all!  I still marvel at the incredible
power of Rev!
Many thanks to David, Dar, Scott, and Chipp for such quick
answers!
Rick Harrison

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Opacity Percentage?

2004-12-04 Thread Rick Harrison
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
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Opacity Percentage?

2004-12-04 Thread David Kwinter
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 [EMAIL PROTECTED]
To: How to use Revolution [EMAIL PROTECTED]
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
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Opacity Percentage?

2004-12-04 Thread Dar Scott
On Dec 4, 2004, at 2:46 PM, David Kwinter wrote:
You'll need to use images and manipulate their alphadata.
Also, consider blendLevel which applies to the whole image.
Dar

Dar Scott Consulting
http://www.swcp.com/dsc/
Programming Services

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Opacity Percentage?

2004-12-04 Thread Scott Rossi
Recently, Rick Harrison wrote:

 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.

Create an image object, fill it with a color, and set its blendLevel to a
value from 0 to 100.

Regards,

Scott Rossi
Creative Director
Tactile Media, Development  Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Opacity Percentage?

2004-12-04 Thread Chipp Walters
If all you want to do is change the opacity, then just create a 10x10 
pixel color square image (.png should do), set it the size you wish, set 
the lockloc of it to true (so it won't resize back to 10x10) and then do 
like Dar suggests:

set the blendLevel of img blue10x10.png to 50 (sets it to 50% transparent)
-Chipp
Rick Harrison wrote:
I wanted to create a bunch of different color filters
and to be able to change the opacity by percentages.
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution