Hi Ray,

> Am 07.01.2015 um 17:09 schrieb Ray <r...@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
kl...@major-k.de


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to