This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2013-03-22 15:45:45

Oli_Dron
New Scratcher
Registered: 2012-12-13
Posts: 14

How to stop a sound and start a new one after

My Scratch game has numerous sounds to play and i'm trying to make it so you click on a button it stops the other sound and plays the new one until another is selected but it keeps playing the old sound a moment after i click on the new one
Please help
Oli_Dron

Offline

 

#2 2013-03-23 09:45:24

DaiDaiDaiDai
Scratcher
Registered: 2013-02-20
Posts: 5

Re: How to stop a sound and start a new one after

stop all sounds
play sound (whatever sound you want)

Offline

 

#3 2013-03-23 09:54:42

Oli_Dron
New Scratcher
Registered: 2012-12-13
Posts: 14

Re: How to stop a sound and start a new one after

i tried that but all the sounds started playing at the same time
thanks anyway
Oli_Dron

Offline

 

#4 2013-03-26 10:39:51

DaiDaiDaiDai
Scratcher
Registered: 2013-02-20
Posts: 5

Re: How to stop a sound and start a new one after

Sorry about my last post. You are supposed to play the first sound until done, stop all sounds and play the next sound until done. If you want to play more then one sound, repeat this script. Sorry if this does not work.

Offline

 

#5 2013-03-27 18:57:57

Photoguy77
New Scratcher
Registered: 2013-02-16
Posts: 9

Re: How to stop a sound and start a new one after

 

when gf clicked
 play sound [yoyo v]
 if < (loudness) = (0) >
 play sound [hello v]
   

     
I hope this will help:D

  -Photoguy77

Offline

 

Board footer