visual effect not working to show stack

Scott Rossi scott at tactilemedia.com
Tue Dec 23 15:43:06 EST 2014


I don't know that it has ever been possible to use a visual effect when launching a stack.  Can you point to a version of LiveCode where this works?

The only stack-level "effects" I've been able to manage are a dissolve-into-view effect by setting the stack's blendLevel from 100 to 0, expand/contract effects by repeatedly changing the stack's rect, or a morph-type effect by repeatedly chafing a stack's windowShape to a sequence of images.

There may be ways to fake the effect you're looking but they're a bit messy.  One way would be to capture the portion of the desktop where you intend to display your stack in a decoration-less stack.  You could reveal a snapshot of your real stack in the capture stack using whatever effect you want, display your real stack above the capture stack, then remove the capture stack from view using blendLevel of 100 and close.

Perhaps one of the above would work for you.

Happy Holidays,

Scott Rossi
Creative Director
Tactile Media UX/UI Design

> On Dec 23, 2014, at 12:04 PM, Brahmanathaswami <brahma at hindu.org> wrote:
> 
> John: right... I did read the dictionary.
> 
> but we don't want the substack being revealed to take over the window of the main stack.
> 
> and, this doesn't work:
> 
> on mouseUp
>   visual effect reveal up very slowly
>   go  stack "Choose Date"  in new window
> end mouseUp
> 
> I presume, because,  "new window" does not qualify as "within a window"
> 
> this also does not work:
> 
> on mouseUp
>  lock screen for visual effect
>  go   stack "Choose Date"  in  new window
>  unlock screen with visual effect reveal up very slowly
> end mouseUp
> 
> 
> Either I am still missing something really simple.
> 
> OR
> 
> what we want:
> 
> open a stack in a different window with a visual effect that emulates a slide effect of moving into view from the bottom into the rect of the current card of the background/parent stack... is not doable, which I find hard to believe....
> 
> Sheet: only works from the top
> Drawer: only pushes out from the rect of the stack
> 
> Goal: have the sub stack "slide" into the screen rect of the parent stack, i.e. behave like a drawer, but move into instead of out from, the parent stack.
> 
> I hope I am missing something really simple.
> 
> Swasti Astu, Be Well!
> Brahmanathaswami
> 
> Kauai's Hindu Monastery
> www.HimalayanAcademy.com
> 
> 
> 
> John Dixon wrote:
>> Read the dictionary...
>> 
>> 'The visual effect command affects only navigation within a window. If
>> you want to create a transition effect when moving between stacks, use
>> the go...in window form of the go command:'
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list