Rev 3.5.0 - Blendlevel Question

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Garrett
Posts: 386
Joined: Sat Apr 08, 2006 8:15 am
Contact:

Rev 3.5.0 - Blendlevel Question

Post by Garrett » Mon Oct 25, 2010 7:06 am

Using Rev 3.5.0, is it possible to set the blendlevel of the stack without it affecting the objects on the stack?

what I'm trying to do is make a translucent background with solid white text. But thus far, my attempts are not working. The text object is affected by the blendlevel of the stack. I even made a PNG file with the transparency already set in the image and when I set the stack to that image, it also affected the text object.

Any suggestions?

Thanks in advance,
~Garrett
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)

Klaus
Posts: 14208
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Rev 3.5.0 - Blendlevel Question

Post by Klaus » Mon Oct 25, 2010 12:10 pm

Hi Garrett,
Garrett wrote:Using Rev 3.5.0, is it possible to set the blendlevel of the stack without it affecting the objects on the stack?
No! Setting the blendlevel will always affect all objects in the stack.

You could tray to play around with snapshots and inks, see this tutorial:
http://www.runrev.com/developers/lesson ... s-windows/
Garrett wrote:what I'm trying to do is make a translucent background with solid white text. But thus far, my attempts are not working. The text object is affected by the blendlevel of the stack. I even made a PNG file with the transparency already set in the image and when I set the stack to that image, it also affected the text object.
What exactly did you try?


Best

Klaus

Garrett
Posts: 386
Joined: Sat Apr 08, 2006 8:15 am
Contact:

Re: Rev 3.5.0 - Blendlevel Question

Post by Garrett » Mon Oct 25, 2010 6:03 pm

I tried setting blendlevels for the stack, card and text element. I also tried putting multiple text elements on top of each other to see if multiple occurrences of them on top of each other might decrease the blendlevel of the subsequent text elements as well as setting the opaque of the text elements one way or the other. And as noted, I tried using a png file (as the shape of the stack) that had a transparency level of about 75%, which I really thought would not affect the text element, but it did, it made the text element have the same transparency as the png file.

I'll check out that tutorial. Likely it will have the solution I need.

Thanks a bunch,
~Garrett
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)

Post Reply