Most developers use SoundManager 2 when they want to add sound to their application using JavaScript. It has hooks, so JavaScript can interact with the functions of Flash 8 and 9. I'm not sure if it has detected the ability to work with Byte Data, which, I think, after that, I never had to deal with this.
source share