Page 1 of 1

Play stop not working on mouseLeave

Posted: Thu Nov 27, 2014 2:14 pm
by GSA_DC
Hi.

I'm teaching Livecode to my students and I've hit an anomaly. I was using 6.6.2 (commercial) to teach with and show examples. However students downloaded the latest Livecode Community 7.0. The same block of simple code behaves differently:

Code: Select all

on mouseEnter
   play audioClip "sound1"
   set the blendLevel of graphic "Oval" to 0
end mouseEnter

on mouseLeave
   play stop
   set the blendLevel of graphic "Oval" to 50
end mouseLeave
IN 6.6.2 the sound stops as it should. In 7.0 the sound appears to being re-triggered on mouseLeave. This is wrong.
Is this a known bug? Is there a new way to stop audioClips from playing other than using play stop? Please help - it's urgent as it's messing up their coursework submissions! Thanks.

Kind regards, Paul.

Re: Play stop not working on mouseLeave

Posted: Thu Nov 27, 2014 2:26 pm
by LCNeil
Hi Paul,

This seems to have been an issue introduced in LiveCode 7.0. It has since been fixed in the latest RC version (7.0.1 RC2). You will be able to download this from here-

http://downloads.livecode.com/livecode

Kind Regards, 

Neil Roger 
-- 
LiveCode Support Team ~ http://www.livecode.com 
--

Re: Play stop not working on mouseLeave

Posted: Thu Nov 27, 2014 3:17 pm
by GSA_DC
Excellent! Thanks for the prompt reply - appreciated.