hide with visual effect

Devin Asay devin_asay at byu.edu
Tue Oct 11 14:19:10 EDT 2016


> On Oct 11, 2016, at 8:46 AM, Mike Kerner <MikeKerner at roadrunner.com> wrote:
> 
> I am trying to give the user the illusion that a dialog is sliding into
> view and out of view.  The dialog is a rectangle graphic background, with
> controls.  Showing it is easy - show x with visual effect scroll up very
> fast.  When I want to hide it though, hide x with visual effect scroll down
> very fast instead shows the underlying card moving, not the group that
> represents the dialog.  I could write a loop to physically move the dialog,

Here’s the recommended way (according to the dictionary):

lock screen for visual effect in rect the rect of group “foo”
show group “foo”
unlock screen with visual effect scroll down # or whatever

I’ve used this technique lots. Works great.

Devin


Devin Asay
Director
Office of Digital Humanities
Brigham Young University



More information about the use-livecode mailing list