Visual Effect
scott at elementarysoftware.com
scott at elementarysoftware.com
Sat Apr 18 15:15:46 EDT 2020
From the docs:
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 :
visual effect "wipe down"
go stack Index in window "Part 2" -- replaces stack on screen
—
Scott
> On Apr 18, 2020, at 11:47 AM, Bob Sneidar via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> I’m having trouble wrapping my head around visual effects. I’ trying to hide and show stacks using visual effects.
>
> Consider this in a button:
>
> on mouseUp
> wait 1 second
> set the visible of homeStack() to false
> lock screen
> set the visible of homeStack() to true
> unlock screen with visual effect reveal down very slow
> breakpoint
> end mouseUp
>
> homestack() simply returns the file path of the main stack, which this button is on.
>
> The visual result is indistinguishable from simply showing and hiding the stack.
>
> Bob S
>
> _______________________________________________
> 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