October 10th, 2008
It’s been a while since my first post. I parted with Pathfinder Dev a few weeks ago, switched this blog to self-hosting, and currently looking for new opportunities.
While I am looking for a new gig, I’ll try to revive this blog by remixing and publishing some old toys I’ve prototyped to get my Flex chops together.
Here is the one that did not make the cut for that internal AIR Flair presentation. I had to play that jungle Bamboo Banga beat in WMP11.
(Click on the image to play and download sample code)
That’s my take on simple mp3 player in Flex. Click on that visualization to see some bars jump.
Most of the heavy lifting is done by the components from the flex community listed below.
Under the hood:
Music Visualization is provided by the excellent Audio Visualization component by Ben Stucki.
I created the main mxml view, layout and custom icons. All in all about two pages of code and a couple of days to prototype it and publish.
Now, this music player is intentionally very basic and only plays one sample.mp3 track from the /assets/music folder.
If you are looking for a more versatile Flex music player that’s scriptable and supports playlists, I’d suggest you grab the latest Flex xml mp3 player which is an excellent port of the well known XSPF Web Music Player to Flex.