Visual Effects Question

Scott Rossi scott at tactilemedia.com
Thu Jul 21 23:26:15 EDT 2005


Recently, Russell Martin  wrote:

> Is it possible to have conrols on a card/window that aren't affected
> by visual effects? For instance, is it possible to have forward/back
> buttons that don't move when using visual effects like slide or push?
> If so, how is this done?

Yes, if you reference one object or a single group of objects.  You do this
by using the hide/show commands.  For example, in an (unaffected) button:

on mouseUp
  if the vis of group 1 then
    hide group 1 with visual effect push right
  else show group 1 with visual effect push left
end mouseUp

When executed, group 1 will disappear/reappear using the designated visual
effect.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com




More information about the use-livecode mailing list