
A Javascript API was needed to achieve the kind of client-side flexibility I wanted, and access to sound was possible using Flash 8's ExternalInterface capabilities through a hidden movie. The original SoundManager 1 project could provide Javascript sound, but not with the kind of features and flexibility I was needing - so something new had to be developed. This lead to the Javascript sound library, SoundManager 2, and the as-yet-unfinished
jsAMP, Javascript MP3 player project.
SoundManager 2 is a library of two core files: A Javascript API, and a small Flash 8 movie which provides sound functionality. Combined, you can create, play and manage sounds directly from Javascript, without having to work with or maintain any Flash code. (The Actionscript .as source is included however, if you want to.)
This project was developed with integration in mind, and includes some useful debugging hooks. SoundManager 2 will use Firebug's debug console (or Safari's native console) if available, and debug info will be written in-browser for IE and others.