Control Flash Sounds With JavaScript: SoundManager
29
Apr
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.
A sample SoundManager code would be:
soundManager.createSound('myNewSound','/path/to/some.mp3');
soundManager.play('myNewSound');
soundManager.setVolume(’myNewSound’,50);
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.
Requirements: Flash plugin 8+
Compatibility: All Major Browsers
Website: http://www.schillmania.com/projects/soundmanager2/
Demo: http://www.schillmania.com/projects/soundmanager2/de...
Compatibility: All Major Browsers
Website: http://www.schillmania.com/projects/soundmanager2/
Demo: http://www.schillmania.com/projects/soundmanager2/de...
- Tags:
Javascript MP3 SWF
- Filed under: BSD License, Flash, Goodies, Media
Related Posts
Popular Posts
- Test (Sample) Data Generators
- Free Admin Template For Web Applications
- Photoshop Heart Brushes Collection
- PHP RSS Parsers
- Mootools Plugins From Phatfusion: Image Menu, Lightbox, Form Validation, Rounded Corners..
- Web 2.0 Badges Collection
- Social Bookmarking Icons Collection
- Photoshop Flower Brushes - 28 Flowers
- 10 Adobe AIR -Must See- Applications
- jQuery Slideshow Plugin With Zoom, Shuffle And Fade Effects
















2 Responses for "Control Flash Sounds With JavaScript: SoundManager"
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.
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
Thanks!
Valid XHTML | Valid CSS