Re: How to make a stack transparent but the fields and images on it a different blend level

2010-12-26 Thread Martin Koob

I had tried to do this to make a floating window with a translucent boarder
and text boxes that were opaque by having no blend on the text boxes and
buttons and a blend on the stack It did not work.  All of the objects were
translucent as well.  Is seems in  Live Code that the Stack blend adds to
all of the blends on the objects in the stack.  

The way  you could do it would be to use a window shape which can have
different levels of transparency.  You would need to make a png image that
has areas that you want opaque with no opacity and then the other areas with
opacity or holes in the stack

There is an article in revup newsletter by Scott Rossi explaining how to do
this.

http://www.runrev.com/newsletter/may/issue70/newsletter3.php

Martin

-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Re-How-to-make-a-stack-transparent-but-the-fields-and-images-on-it-a-different-blend-level-tp3162982p3164292.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: How to make a stack transparent but the fields and images on it a different blend level

2010-12-26 Thread william humphrey
Hi Martin

Thanks. Scott pointed me to his example stack. He didn't also mention the
article he wrote.  I thought I read all those.

On Sun, Dec 26, 2010 at 11:32 AM, Martin Koob mk...@rogers.com wrote:


 I had tried to do this to make a floating window with a translucent boarder
 and text boxes that were opaque by having no blend on the text boxes and
 buttons and a blend on the stack It did not work.  All of the objects were
 translucent as well.  Is seems in  Live Code that the Stack blend adds to
 all of the blends on the objects in the stack.

 The way  you could do it would be to use a window shape which can have
 different levels of transparency.  You would need to make a png image that
 has areas that you want opaque with no opacity and then the other areas
 with
 opacity or holes in the stack

 There is an article in revup newsletter by Scott Rossi explaining how to do
 this.

 http://www.runrev.com/newsletter/may/issue70/newsletter3.php

 Martin

 --
 View this message in context:
 http://runtime-revolution.278305.n4.nabble.com/Re-How-to-make-a-stack-transparent-but-the-fields-and-images-on-it-a-different-blend-level-tp3162982p3164292.html
 Sent from the Revolution - User mailing list archive at Nabble.com.

 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode




-- 
http://www.bluewatermaritime.com
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: How to make a stack transparent but the fields and images on it a different blend level

2010-12-23 Thread Scott Rossi
Recently, william humphrey wrote:

 But the problem with this is that you can't move this stack around without
 immediately revealing that the transparent rect image is static. Is there
 some way (without keep getting a new rect to put in the background as that
 is too jerky) to make a stack and it's background transparent but the
 groups or fields on it not transparent?

One way to do this is to create a stack with a custom windowShape that has
the control regions opaque and the unoccupied regions translucent.  It's not
convenient, but it's possible.  I posted a stack some time ago that
dynamically creates the mask image at startup and applies the windowShape to
the stack.  In your message box:

 go url http://www.tactilemedia.com/site_files/downloads/transtack2.rev;

Keep in mind that this method doesn't automatically work for irregular
shaped objects like sliders, and even checkboxes suffer a bit because the
check extends beyond the rect of the box.  You'll need a compromise like
adding a graphic behind each irregular control whose rect fits the entire
region needed to accommodate the control.  It's a bit of work, but with a
little planning, you can indeed create a stack that has opaque controls with
a translucent background.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: How to make a stack transparent but the fields and images on it a different blend level

2010-12-23 Thread Shao Sean
In theory this should be doable as the system allows for it (I have an  
external for Windows that does it) but cannot get it to work correctly  
on Mac OS X


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode