stop

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
stop [playing] {<player> | <videoClip> | <audioClip>}
Associationsplayer
Summary

Stops a currently playing sound or movie.

Introduced1.0
OSmac, windows, linux
Platformsdesktop, server
Parameters
NameTypeDescription
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.

Example
stop player "video"
stop playing audioClip "track1"
RelatedKeyword: button
Property: script, playDestination
Command: start, revStopAnimation, stop recording, play
Glossary: command, video clip, audio clip
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.

Tagsmultimedia