Visual effects - simulated sheet look
scott at tactilemedia.com
Mon Dec 19 22:09:28 CST 2005
Recently, Marty Knapp wrote:
> I'm trying to simulated the OSX sheet effect for a stack that will be
> used on OSX and XP. I've tried a couple of visual effects that work OK
> on the Mac, but not the PC.
> Any suggestions?
1) Don't use an effect. Script a *real* panel (a group of controls) and
move it in and out of position as needed.
2) If you really want to use an effect, you can place your content/controls
in a group, position the group at the top of the card (or wherever you want
your sheet to slide into), hide the group, and then try the following:
show group fakeSheet with visual push down fast
...to show the group "sheet style". To "unsheet" the group, use:
hide group fakeSheet with visual push up fast
While visual effects are normally applied to an entire card, using a visual
effect with hide/show localizes the effect the rect of the object being
hidden/shown. This is a handy technique when you don't want an effect
applied to the entire card.
Tactile Media, Multimedia & Design
E: scott at tactilemedia.com
More information about the use-livecode