Bonjour Poupette,
create a little PANIC BUTTON:
Code: Select all
on moueup
play stop ac
end mouseup
LiveCode is VERY picky, when it comes to play sounds.
When using the "play ac..." command you can only use
UNCOMPRESSED AIF and WAV files and the compressed AU format.
But you can use a "player" object to play all other QuickTime compatible
sounds like MP3 (and video and image formats). This requires QuickTIme
to be installed on the end users machine however.
Then you can use a script to:
start player "Name of player here"
...
stop player "Name of player here"
...
set the filename of player "Name of player here" to "another_sound.WAV"
...
Best
Klaus