Music stop script
- spritezero
-
spritezero
- Member since: Mar. 19, 2009
- Offline.
-
- Forum Stats
- Member
- Level 03
- Blank Slate
i have a video that i have a sound effect in that starts a bout half way through, and at the end when you click the "replay" button, the music stays on throughout the whole clip. I was wondering if anyone could post a code for the music to stop at the end of the animation, thanks
- Denvish
-
Denvish
- Member since: Apr. 25, 2003
- Offline.
-
- Send Private Message
- Browse All Posts (15,977)
- Block
-
- Forum Stats
- Member
- Level 46
- Blank Slate
At 3/19/09 04:31 AM, spritezero wrote: i have a video that i have a sound effect in that starts a bout half way through, and at the end when you click the "replay" button, the music stays on throughout the whole clip. I was wondering if anyone could post a code for the music to stop at the end of the animation, thanks
stopAllSounds();should do the job
- Xeptic
-
Xeptic
- Member since: May. 12, 2005
- Offline.
-
- Forum Stats
- Member
- Level 32
- Game Developer
- starownage3
-
starownage3
- Member since: Apr. 22, 2008
- Offline.
-
- Forum Stats
- Member
- Level 16
- Blank Slate
At 3/19/09 06:18 AM, Xeptic wrote: Or you could set your sound to stream.
thats makes it sound worse when you export.
i use the script.
My friend's sister plays wizard 101....
she's 17.....
wtf?


