[index]
Lock Messages Command
Syntax
lock messages
Description
The lock messages command sets the lockMessages property to true.
Examples
The following handler uses the lock messages command in the script of a button to display every card in the stack without triggering any openCard or closeCard messages. The unlock messages command is used to resume the transmission of system messages. Try the handler without the lock messages command at the beginning to see the time difference.
on mouseUp
lock messages
repeat with i = 1 to the number of cards of this stack
go to next card
wait 2 seconds end repeat unlock messages
This text has been mechanically extracted from the Oracle Media Objects 1.0.4.9 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.