Hi.
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 go...in 
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.
Craig

-----Original Message-----
From: Bob Sneidar via use-livecode <use-livecode@lists.runrev.com>
To: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: Bob Sneidar <bobsnei...@iotecdigital.com>
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
  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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to