Hi all, > Am 02.05.2023 um 18:07 schrieb Klaus major-k via use-livecode > <[email protected]>: > > Hi Håkan > >> Am 02.05.2023 um 17:56 schrieb Håkan Liljegren via use-livecode >> <[email protected]>: >> >> 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. > > hm, not sure, I made a test here by myself. > > Button to go to next cd with a visual effect: > ... > put the millisecs > ## go_next is in the stack script and goes to the next card: > ## lock screen for visual effect > ## set the effectrate to 300 > ## go next cd > ## unlock screen with visual wipe left very slow > go_next > ... > Then on the "next" cd I scripted: > ----------------------------------- > on opencard > put the millisecs into tMillisecs > put CR & tMillisecs after msg > end opencard > ----------------------------------- > And I ended with this in the msg: > 1683043067873 > 1683043067877 > > Only 4 millisecs difference, but with the set effectrate the difference > should be at least 300!? > So I guess "opencard" is already sent BEFORE the visual effect, at least > according to the above data, right? > > Molto mysterioso... :-) > > Someone knows exactly?
obviously there is a big difference by using: ---------------------------- lock screen for visual effect go next unlock screen... ---------------------------- And: ---------------------------- visual effect ... go to next card ---------------------------- Using the latter I get this in the msg: 1683043997883 1683043998101 Not the full 300 millisecs difference as exspected by the effectrate, but more than in my first test. Someone knowing please chime in! :-) Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass [email protected] _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
