Control Flash Sounds With JavaScript: SoundManager

SoundManager is a Javascript Sound API which  effectively maps most of the native sound capabilities of Flash 8 to Javascript.

It enables you to control sound in a cross-browser/platform environment, using a language you already know.

Sound Manager

A sample SoundManager code would be:


You see that it is really easy. This JavaScript Flash Sound API has other powerful controls like:

  • stream
  • autoplay
  • onid3 – for ID3 tag displaying
  • whileplaying
  • and more..

Using SoundManager, you can easily create sound based web applications or more interactive background sounds for non-Flash websites.

  1. Reply Ruslan Abuzant April 30, 2008 at 2:00 AM

    Thanks for the tutorial, the JS is nice and veeeeery similar to MooSound; The sound interface plugin for MooTools.

    Make sure to check it out as it has playlist feature, flash UI and other

    PS> Not mine, just sharing the tooltip.

  2. Reply Jakub Chodorowicz April 30, 2008 at 9:56 AM

    I havent been aware that you could do this kindo stuff with Javascript – I’d have used in my last project to create a simple music player, instead I had to use flash which I really dont like


Leave a reply