A Simple MP3 Button

By Jeff Denton Oct 22, 2008

Years ago I made this little MP3 player button just to fool around with Flash and gain some experience with ActionScript. It's based loosely on the Wimpy Button but with fewer features.

To make this work, just change 1 flashvar that points to the path of your MP3 file like so...

flashvar="soundFile=(path to your MP3 file)"

The path may need to be a full path to the MP3 file even if it resides in the same directory as the SWF file.  I'm not sure why but this is something I ran into when deploying this on my webserver.

Thanks and have fun.

Download the SWF and FLA files here.

 

Add Your Comments