opencard and visual effect

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


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.


> On 2 May 2023, at 15:06, Klaus major-k via use-livecode <use-livecode at> 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
> klaus at
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the use-livecode mailing list