
Chapter 3
86
beep
Syntax
beep {
numberOfTimes
}
Description
Command; causes the computer’s speaker to beep the number of times specified by
numberOfTimes
. If
numberOfTimes
is missing, the beep occurs once.
•
In Windows, the beep is the sound assigned in the Sounds Properties dialog box.
•
For the Macintosh, the beep is the sound selected from Alert Sounds on the Sound control
panel. If the volume on the Sound control panel is set to 0, the menu bar flashes instead.
Example
This statement causes two beeps if the Answer field is empty:
if field "Answer" = EMPTY then beep 2
beepOn
Syntax
the beepOn
Description
Movie property; determines whether the computer automatically beeps when the user clicks on
anything except an active sprite (
TRUE
), or not (
FALSE
, default).
Scripts that set
beepOn
should be placed in frame or movie scripts.
This property can be tested and set.
Examples
This statement sets
beepOn
to
TRUE
:
the beepOn = TRUE
This statement sets
beepOn
to the opposite of its current setting:
the beepOn = not the beepOn
before
See
put...before
beginRecording
Syntax
beginRecording
Description
Keyword; starts a Score generation session. Only one update session in a movie can be active at a time.
Every
beginRecording
keyword must be matched by an
endRecording
keyword that ends the
Score generation session.
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...