[index]

LockScreen Property

Syntax

set the lockScreen to <boolean> Applies to global

Description

The lockScreen property controls how the screen is updated. When the lockScreen property is true, the image currently displayed on the screen is not modified until the screen is unlocked or the script currently being executed ends. The lockScreen property is automatically set to false when an idle message is sent. Therefore this property can be changed only within the scope of a script. You can use the lockScreen property to

Examples

Create a bitmap named "test" and a button with the following script: on mouseUp set the lockScreen to true hide bitmap "test" wait 5 seconds show bitmap "test" set the lockScreen to false end mouseUp When you click on the button, the bitmap "test" does not disappear, because the screen was locked during the time the bitmap was hidden. Now return to the script and change the second line to read: set the lockScreen to false
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.