Flash-XML Music Player
Flash Showcase March 20th, 2008I just created a Flash/XML music player for Flasheezy, and I thought I'd share the player with you guys. It's a simple design, loosely based on the old school iPod (Is it weird that we're already using "iPod" and "old school" in the same sentence?). This player is very easy to update. Simply upload the files you want to add to your website into a specified directory and then update a simple text XML file to point to the new songs. Here's the player:
Let me know what you think!
Here are the source files if you want to add it to your own site (Flash CS3 Version): jukebox.zip
And here is the Flash 8 version: jukebox-flash8.zip








March 21st, 2008 at 12:15 am
Very cool. Good choice of music too.
March 21st, 2008 at 10:43 am
Very nice and simple player. How difficult would it be to convert it into AS3.
March 21st, 2008 at 10:49 am
Not too difficult. The way ActionScript 3 handles sound and XML is a little different than in AS 2, so it would take a little bit of work. I just haven’t had the time to do it.
March 21st, 2008 at 6:41 pm
Cool! I was actually looking to invest the time into this conversion. Would you mind if I take a shot at converting the player into AS3?
April 5th, 2008 at 9:01 pm
Hi, Craig-
I can’t seem to open the .FLA. I’m guessing this is a CS3 file? I only have Flash 8 Pro at the moment.
Thanks,
Jason
April 5th, 2008 at 9:19 pm
Yes, this was created in Flash CS3. I’ve saved another version as a Flash 8 file. See the link in the updated post.
Thanks!
Craig
April 9th, 2008 at 6:23 am
Thanks, Craig! Works perfectly! I’m going to pick it apart so I can see what’s going on. Thanks very much!
-Jason
April 11th, 2008 at 10:13 am
This is a nice and simple player and works great if Flash but I was wondering why when I place it in my dreamweaver site it doesn’t play there? I get your lovely out of order message. I’m sure there’s something simple that I’m looking over.
April 13th, 2008 at 11:24 am
how do i embed this music player in my website?
April 24th, 2008 at 5:39 pm
Thanks very much, this was a great help for me and is much appreciated…
May 19th, 2008 at 4:38 am
Hello
Your player is realy great!
I use it in AS3 but how can i change the AS CODE that the music doesn’t start at the beginning?
thank you very much and i hope you can help me!
June 11th, 2008 at 1:07 pm
hi i really love your music player, im trying to put it on my website i have but the site is completly in flash, im struggling to get working, i was wondering if you could get in contact with me to help me out, many thanks
Ryan
June 15th, 2008 at 10:47 am
Hey Craig think the xml is a fine piece of work.
Only problem is what you suggested earlier in the mp3 tutorial and that was how can you change the as3 code so that it does not play immediately?
hanks for all the great tutorials, this is one of the most in depth ive come across
great work
July 25th, 2008 at 4:03 am
I have limited experience with flash, and when I embed the player, the skin appears but it just says “Out of Order:Try Again Later”. the player and the xml file are in the same directory, but I can’t seem to get it to work. How do I fix this?
Thanks!
August 2nd, 2008 at 7:48 am
that’s really nice!
August 9th, 2008 at 3:36 pm
A few people have asked about the “Out of Order” error but I don’t see anyone answering. I to would like to no. I also don’t no the html code to link to the player its not giving so maybe someone who has a bit of knowledge can share with me how to link to the player.
Thanks for any input.
August 18th, 2008 at 7:58 pm
For the out of order, you need to have your html page that you have your player on inside the folder with the box. Unfortunately this changed my links. So I am trying to put all the files in with the rest of the html files. I am still uploading the music so I am not sure how it will work.
I have a problem with artists name staying the same. It says Weezer for all of the artists. Any help with this problem.
August 22nd, 2008 at 1:51 pm
I figured it out! The functions next and previous was missing: artist_txt.text = artists[currentIndex];
Just wanted to pass that along, my client loves the mp3 player on his site. Thank you for the code.
Dawn
August 27th, 2008 at 5:13 pm
I’m having issues with the mute button…has anyone else encountered this?
September 19th, 2008 at 4:40 am
Hi,
I have also limited experience with flash.
I a trying to put the mp3 player in dreamweaver but it doesnt play. Always stop on “loading”.
I d’ont know what to do.
Can you help me ?
Thanks
September 23rd, 2008 at 2:16 pm
Hi,
I can’t thank you enough for creating this mp3 player. I am on a deadline to get a website complete by end of the week and have been searching high and low for one I could integrate into a flash website. You saved me a lot of time and energy and it works perfect.
Thanks! Keep up the great work!
I’ve bookmarked your site
September 29th, 2008 at 11:52 am
This is so perfect! anyway to get it to open using flash mx2004?
October 12th, 2008 at 2:31 pm
How do I get this to autostart when the website starts? Auto start when there is enough buffer and not wait until the whole song downloads.
October 16th, 2008 at 8:34 am
Hi ‘it is an amazing jukebox!!!!!!!!
But is there some copyright on it???
November 30th, 2008 at 9:35 am
Cool! I have a couple of questions. The mute button works sometimes and sometimes not. Can’t figure that one out. Also, how can we make the volume initialize at a lower setting, say 50%, instead of wide open?
Thanks!
Grampz
December 18th, 2008 at 9:30 am
Hi,
First of all thanks for the excellent music player.
I’m Portuguese and Portuguese language use many special letters as “á” “õ” ”ê” and so on…
My question is: Why can’t I use this letters in music names. Because I have music named “Uma Questão de Fé” (A Question of Faith) and when I wrote that appears an output box error that said “undefined”. But if I but “Uma Questao de Fe” without any special letter it works!
What can I do?
Thanks
António
February 18th, 2009 at 6:59 am
very good jukebox
March 17th, 2009 at 6:08 am
How do you stop music from automatically playing?
April 9th, 2009 at 10:23 am
I’m a graphic designer who has to work with what they’ve got and that is Flash 8 Pro. I found this very helpful for websites, but I’m in a position that I need to also use this same player in corporation with a banner ad on social networking sites.
The player shows up but it keeps coming up with the error message or “undefined” when it tries to play. I’m sure it hase something to do with the fact that the web page it is on is not in the same directory. Anyone have an idea on how I can fix this or what I’m missing in the code that I need to change?
Thanks!
May 25th, 2009 at 7:00 pm
Sorry to bother you, but can you check the “jukebox-flash8.zip” file?
I can’t open it. It says it’s a corrupt file.