Mike,

It works in 5.0.2 that way, too. But, then you can't use visual effects.

In fact, the visual effect in the mouseDown is blocking the entire mouseUp. 
Doesn't seem to matter what's in the mouseUp… it's not carried out unless you 
hold the button down until the entire visual effect is completed.

Is there some sort of "wait until" that works with visual effects? 

wait until visual effect is done … doesn't work

It seems to be an issue with visual effect… even this in the mouseDown blocks 
the mouseUp

on mouseDown
   switch (the visible of graphic "Chip02")
      case "true"
         hide graphic "Chip02" with visual effect "dissolve" fast
         break
      case "false"
         show graphic "Chip02" with visual effect "dissolve" fast
         break
   end switch
end mouseDown

be well,
randy
-----
On Jan 16, 2012, at 9:10 AM, Michael Kann wrote:

> Randy,
> 
> I'm using 4.0 and it works if you use
> 
> lock screen
> 
> instead of
> 
> lock screen for visible effect
> 
> Mike
> 
> 
> 
> --- On Mon, 1/16/12, Randy Hengst <[email protected]> wrote:
> 
> From: Randy Hengst <[email protected]>
> Subject: Visual Effects in LC 5.0.2
> To: "How to use Revolution" <[email protected]>
> Date: Monday, January 16, 2012, 8:52 AM
> 
> Hi All,
> 
> I'm playing around with visual effects. Can anyone tell me why the below 
> won't work for the mouseUp when both handlers are placed in the same button?
> 
> on mouseDown
>    lock screen for visual effect
>    set the visible of graphic "Chip02" to not the visible of graphic "Chip02"
>    unlock screen with visual effect "dissolve" fast
> end mouseDown
> 
> on mouseUp
>    lock screen for visual effect
>    set the visible of graphic "Chip01" to not the visible of graphic "Chip01"
>    unlock screen with visual effect "dissolve" fast
> end mouseUp
> 
> be well,
> randy hengst
> _______________________________________________
> use-livecode mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> _______________________________________________
> use-livecode mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to