« Actionscript syntax highlighter | Main | Friday fun - Bloody Rage 2 »

Flash MP3 player for JavaScript

I recently got a request from a friend that's a JavaScript developer and he needed to play some sound effects in an an app he's working on and he asked me for advice. I quickly made a headless SWF that can play, pause and stop any online MP3 file from JavaScript and I figured that others might also be interested in this so I'm posting it here for others to grab.

Bare bones example - Actionscript class - FLA file

PS: if you use this, send me an URL so I can link to it?

A word from our sponsors :)

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)