Visual Effects in LC 5.0.2
Randy Hengst
iowahengst at mac.com
Mon Jan 16 15:26:41 EST 2012
Hi Bernd
I like your idea… I simply placed everything in the mouseDown as the workaround.
Don't know if it's a bug or not.
be well,
randy
-------
On Jan 16, 2012, at 1:16 PM, BNig wrote:
> 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
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list