*
*
**
*
on doRectCapture
*
*get* the rect of this stack
*hide* this stack
*repeat* with x = the number of images in stack "Splash" down to 1
*if* the short name of img x is "temp" *then* *delete* img x
*end* *repeat*
*hide* img "logo" of card id 1002 of stack "Splash"
*hide* fld 1 of card id 1002 of stack "Splash"
*hide* fld 2 of card id 1002 of stack "Splash"
*import* snapshot from rect it
*set* the name of last img of this stack to "temp"
*set* the layer of img "temp" to 2
*set* the blendlevel of image "temp" to 50
*set* the decorations of this stack to empty
*show* this stack
*send* "revealLogo" to stack "Splash"
*end* doRectCapture
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?
_______________________________________________
use-livecode mailing list
use-li...@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
> 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
On Thu, Dec 23, 2010 at 11:18 PM, Scott Rossi <sc...@tactilemedia.com>wrote:
> go url "http://www.tactilemedia.com/site_files/downloads/transtack2.rev"
>
--
http://www.bluewatermaritime.com