Visual Effect

Bob Sneidar bobsneidar at
Sat Apr 18 14:47:45 EDT 2020

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
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

More information about the use-livecode mailing list