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

#1 2009-09-20 07:32:12

Yellow-blur
Scratcher
Registered: 2009-09-18
Posts: 12

Is there a way to stop music from playing?

I was doing a sound effect and it kept on playing, is there a way for a sound effect to only play once?

Offline

 

#2 2009-09-20 08:20:42

Lanie
Scratcher
Registered: 2008-02-03
Posts: 1000+

Re: Is there a way to stop music from playing?

Yes you set up a broadcast script on one sprite and then you do when receive (whatever broadcast name is) play sound (whatever it is)on the other sprite or the same sprite even. Make sure you dont put the sound in a loop

Offline

 

#3 2009-09-20 08:44:03

Yellow-blur
Scratcher
Registered: 2009-09-18
Posts: 12

Re: Is there a way to stop music from playing?

thanks, Lanie!  big_smile

Offline

 

#4 2009-09-20 08:44:33

ihaveamac
Scratcher
Registered: 2007-09-22
Posts: 1000+

Re: Is there a way to stop music from playing?

If it's a music file stored in the project then simply use this:

<stop all sounds>


~ihaveamac - visit ihaveamac.net

Offline

 

#5 2009-09-20 10:17:32

Lanie
Scratcher
Registered: 2008-02-03
Posts: 1000+

Re: Is there a way to stop music from playing?

Yellow-blur wrote:

thanks, Lanie!  big_smile

no problem ^_^ need anything else let me know!

Offline

 

Board footer