object transparency masking? [solved]

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
SteveTX
Posts: 170
Joined: Sun Jan 17, 2010 9:00 pm

object transparency masking? [solved]

Post by SteveTX » Sat Jul 06, 2013 11:41 pm

I am interested in making parts of image and graphic objects transparent so the background shows through them.

Layer 3 - The Mask
Layer 2 - The Object
Layer 1 - Gradient Background

OR

Layer 3 - The Object
Layer 2 - The Mask
Layer 1 - Gradient Background

When the (invisible) mask covers pixels of the object, only the background should show.
It is my intention to animate the mask so that the object begins to appear on the screen although already predrawn.

Can this be accomplished with blends? Is there a better way?
Last edited by SteveTX on Sat Jul 13, 2013 7:30 pm, edited 1 time in total.

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: object transparency masking?

Post by Simon » Sun Jul 07, 2013 1:06 am

Hi Steve,
Is this just a dissolve? Or something fancy like blinds?

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

SteveTX
Posts: 170
Joined: Sun Jan 17, 2010 9:00 pm

Re: object transparency masking?

Post by SteveTX » Sun Jul 07, 2013 2:23 am

Simple. Not even a mediary stage between the blend, either it does or doesn't show the pixels, no alpha needed. No sophisticated transition, the mask could be described by a growing/shrinking/moving rect.

SteveTX
Posts: 170
Joined: Sun Jan 17, 2010 9:00 pm

Re: object transparency masking?

Post by SteveTX » Sat Jul 13, 2013 7:30 pm

solved. Instead of setting visible the object, use show or hide "with visual effect".

Post Reply