opencard and visual effect

Klaus major-k klaus at major-k.de
Thu May 4 17:38:48 EDT 2023


Hi Jim,

> Am 04.05.2023 um 19:35 schrieb Jim Lambert via use-livecode <use-livecode at lists.runrev.com>:
>> 
>> you may have missed this in my last posting:
> 
> Klaus,
> 
> Indeed I did.
> 
> JimL
> 
> P.S. Another possibility you could also fake a transition. Then start your timer in the openCard handler of your destination card. 
> 
> In starting card:
> on fakeTransition
> 	lock screen
> 	import snapshot from rectangle (the rect of next card) of next card
> 	put it into tempImage
> 	set the blendlevel of tempImage to 100
> 	unlock screen
> 	repeat with x = 100 down to 0 step -10
> 		set the blendlevel of tempImage to x
> 		wait 10 ticks with messages
> 	end repeat
> 	lock screen
> 	delete tempImage
> 	go next
> end fakeTransition
> 
> In destination card:
> on openCard
> 	startTimer
> end openCard

thanks, but now I will navigate to the "timer" card without visual effect (real or fake).
My customer said that is OK. :-)


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