Visual Effect

dunbarx at dunbarx at
Sat Apr 18 16:12:49 EDT 2020

I never use visual effects, but I think you may need to go to the dictionary.
One thing it says is:
 "The visual effect command affects only navigation within a window. If you want to create a transition effect when moving between stacks, use the window form of the go command :
visual effect wipe downgo stack Index in window Part 2 -- replaces stack on screen
So I think it is a matter of usage. I bet you will find your way through.

-----Original Message-----
From: Bob Sneidar via use-livecode <use-livecode at>
To: How to use LiveCode <use-livecode at>
Cc: Bob Sneidar <bobsneidar at>
Sent: Sat, Apr 18, 2020 2:48 pm
Subject: Visual Effect

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

use-livecode mailing list
use-livecode at
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the use-livecode mailing list