Stop multiple sounds

  • flashkicks
  • Beginner
  • Beginner
  • flashkicks
  • Posts: 37

Post 3+ Months Ago

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
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Tchuki
  • Mastermind
  • Mastermind
  • Tchuki
  • Posts: 1774
  • Loc: Edinburgh

Post 3+ Months Ago

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 14 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
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.