Hi Randy,

the mouseUP does not get sent while the visual effect is in progress. As one
can see in the Message Watcher.
If that qualifies as a bug I don't know.

if you really want to have the effects on mouseDown and the next effect when
the mouse is up then the only workaround I found is this:

----------------------
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
   send toggleGrc to me in 10 milliseconds
end mouseDown

on toggleGrc
   if the mouse is up then 
      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
   else
      if toggleGrc is not in the pendingMessages then
         send toggleGrc to me in 100 milliseconds -- adjust if necessary
      end if
   end if
end toggleGrc
------------------------
note: no mouseUp handler.


Kind regards
Bernd

--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Visual-Effects-in-LC-5-0-2-tp4299735p4301101.html
Sent from the Revolution - User mailing list archive at Nabble.com.

_______________________________________________
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