Play stop not working on mouseLeave
Posted: Thu Nov 27, 2014 2:14 pm
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:
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.
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
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.