FORUMS: list search recent posts

overlapping sound

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Gustav
overlapping sound
on Aug 5, 2006 at 2:35:42 pm

hi all!

i have made buttons which play a loop each, but whilst one is playing, if you press another, to change the loop, the new one plays over the old one, which sounds horrible obviuosly,

is there a way that i can fix this, bearing in mind i have no clue about scripting?

thanks!

Gus



Return to posts index

Sher Ali
Re: overlapping sound
on Aug 8, 2006 at 4:43:11 am

before you play another loop, call the stopAllSounds() method of Sound class,
and this will solve the problem.



Sher Ali
http://www.webeyestudio.com


Return to posts index

Gustav
Re: overlapping sound
on Aug 12, 2006 at 12:51:57 pm

I tried applying the stop all sounds to the button, but when u press the button it plays a little clip and then cuts the sound, instead of cutting the sound before it plays the new loop.

is there any way i can make it stop all the sounds before it plays the loop?



Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]