opencard and visual effect

Klaus major-k klaus at major-k.de
Tue May 2 12:21:54 EDT 2023


Craig,

> Am 02.05.2023 um 18:16 schrieb Craig Newman via use-livecode <use-livecode at lists.runrev.com>:
> 
> Klaus.
> 
> Why aren’t you doing this in the forum???

this is a free country, I can do it whereever I like! :-D

> I made a stack with two cards. Card 1 has a button on it:
> 
> global tTime
> 
> on mouseUp
> put the ticks into tTime
> visual effect "checkerBoard" slow
> go cd 2
> end mouseUp
> 
> In the card 2 script:
> global tTime
> on openCard
> put the ticks - tTime into fld 2
> end openCard
> 
> I get about 60 ticks, so it seems the message is sent AFTER the visual effect completes. Know that with “preOpenCard” I get 0 ticks; the message is sent before the visual effect.
> 
> Craig

See my last mail, which is even more irritating...


Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
klaus at major-k.de




More information about the use-livecode mailing list