Stops a currently playing sound or movie.
# Metadata
Platforms: desktop, server OS: mac, windows, linux Introduced: 1.0 Security:
# Syntax
stop [playing] {player | videoClip | audioClip}
# Params
- player : A reference to a <player> that holds a currently playing sound or movie. - videoClip : A reference to a <video clip> that is currently playing. - audioClip : A reference to an <audio clip> that is currently playing.
# Examples
stop player "video"
stop playing audioClip "track1"
# Description
Use the stop command to halt a sound or movie before it finishes. For example, you can use the stop command in the script of a button, to let the user click to stop a repeating sound.
The stop command stops playing a video clip or audio clip started with the play command.
# Tags
# See
- **keyword:** button - **property:** script, playDestination - **command:** start, revStopAnimation, stop recording, play - **glossary:** command, video clip, audio clip