Stop multiple sounds

  • flashkicks
  • Beginner
  • Beginner
  • No Avatar
  • Joined: May 21, 2005
  • Posts: 37
  • Status: Offline

Post July 6th, 2005, 11:31 pm

I have just created a nice little audio bar in flash for my website enabling the user to select between 3 different sounds. However it cam to my attention when i was testing it that when i clicked a different sound the previous one did not stop thereby creating an awful racket. my question...how can prevent this?

Regards
- Fred Vaux
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post July 6th, 2005, 11:31 pm

  • Tchuki
  • Mastermind
  • Mastermind
  • No Avatar
  • Joined: Sep 30, 2004
  • Posts: 1774
  • Loc: Edinburgh
  • Status: Offline

Post July 8th, 2005, 2:07 am

Code: [ Select ]
on (release) {
mySound.stop("songName.mp3");
mySoundPosition = 0;
}
  1. on (release) {
  2. mySound.stop("songName.mp3");
  3. mySoundPosition = 0;
  4. }

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 41 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.