opencard and visual effect

Håkan Liljegren hakan at exformedia.se
Tue May 2 11:56:30 EDT 2023


AFTER!

Create two cards
Add a button or something on the first card with the code
on mouseUp
   visual effect dissolve slow
   go to next card
end mouseUp

On the second card add a control and the hide it and add the script to the card:
on opencard
   show control 1
end opencard

You will then clearly see that the first card dissolves slowly and when the transition is done the control appears (no cross-dissolve) 

The preOpenCard is run before and the openCard is run after.

:-Håkan

> On 2 May 2023, at 15:06, Klaus major-k via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Hi friends,
> 
> quick question:
> Will "opencard" be sent to a card AFTER the card was navigated to
> with a visual effect or already during the effect?
> 
> I cannot tell actually in my stack.
> 
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> klaus at major-k.de
> 
> 
> _______________________________________________
> 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