Alpha Images in a stack

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
bidgeeman
Posts: 495
Joined: Wed Feb 21, 2007 7:58 am

Alpha Images in a stack

Post by bidgeeman » Sun Jul 12, 2009 12:28 pm

Is there a way to display a png image sequence in a stack and hide the stack background? Say I have an image sequence of a ball on several cards and the background of the ball is set to transparent. I want to display the image sequence so that all you see is the ball and nothing else.

Thanks for advice.
Cheers
Bidge

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

Post by Klaus » Sun Jul 12, 2009 5:34 pm

Hi Bidge,

yep, check "windowshape" in the docs.
Use the same technique as setting the icon of a button to do this.

And of course use "set the windowshape of this stack to xxx" instead
of "set the icon of btn xyz to xxx" :D

Sorry, couldn't resist ;)


Best

Klaus

bidgeeman
Posts: 495
Joined: Wed Feb 21, 2007 7:58 am

Post by bidgeeman » Mon Jul 13, 2009 1:19 am

Hahaha....:)
Thanks Klaus....I managed to find that and get it working for a change.

It's always the little things that seem to bring me undone! :(

Cheers
Bidge

Post Reply