7.0.1 Loops Sounds on a Mac (whether you want to or not)
Klaus major-k
klaus at major-k.de
Wed Jan 7 11:17:20 EST 2015
Hi Ray,
> Am 07.01.2015 um 17:09 schrieb Ray <ray at linkit.com>:
>
> My Mac is running 10.7.1. The script is just two lines:
> on mouseUp
> wait until the sound is done
> play [wavFilePath]
> end mouseUp
>
> This works for the first click but a second click and the sound loops. This only shows up on a Mac.
sorry, I did not work with LC 7.x yet.
> The documentation regarding looping is kind of confusing. It says it specifies whether a movie "or sound" loops, but looping is a property of a player, something not usually used when simply playing sound file.
Check the dictionary entry for PLAY!
You can add the keyword looping:
...
play ac "whatever.wav" looping
...
> Ideas?
Best
Klaus
--
Klaus Major
http://www.major-k.de
klaus at major-k.de
More information about the use-livecode
mailing list