Music or podcast players are popping up on some important ecommerce sites. These audio players might offer samples of music from a popular DVD, or provide audio commentary about a product or service.
While there are certainly several good music players available, you might want to create your own, to give it your own look and feel or other custom branding.
In this four part tutorial, I'm going to make an MP3 player from scratch using Adobe Flash.
In this first installment, I'll explain a bit about Flash vars and how to pass variables from an swfObject. Then I'll use those variables to load an MP3 file. I'll make two classes in this part as well: a document class that will facilitate all our UI elements and an AudioController class that will handle the playing, tracking and volume of the audio.
Related Articles
- Embedding SWF with jQuery Flash
- Building a Custom Flash Preloader, Part 1
- Build A Flash-Powered Content Slider from Scratch, Part 1

