Lock Screen on preOpenCard
Ender Nafi Elekcioglu
endernafi at keehuna.com
Thu Feb 13 11:19:35 EST 2014
Hi all,
I’m navigating through cards with visual effect at all times.
And in the destination card’s preOpenCard handler I lock and unlock screen.
card1:
_on mouseUp
__lock screen for visual effect
__go card 2
__unlock screen with visual effect “dissolve fast”
_end mouseUp
card2:
_on preOpenCard
__lock screen
__//do stuff
__unlock screen
_end preOpenCard
It came to my mind that the latter may be pointless,
former lock/unlock may encapsulate the second, hence the **pre**OpenCard.
The lock/unlock of the second card’s preOpenCard handler is redundant, isn’t it?
Thanks,
~ Ender
More information about the use-livecode
mailing list