Last night I was browsing around 365psd.com and I found a very interesting design for an mp3 player. Then I thought it would be a good idea to make it functional with Flash and ActionScript 3.0 and then share it for free on my blog đ
Source files:
mp3_player.zip (1.4 MiB, 9,954 hits)
Hi,
I’ve question about Simple AS3 mp3 player.
When it’s loaded the music play automaticly.
How can I do that after loaded this the music doeasnt start automaticly.
Best wishes,
Tomasz
i highlighted the piece of code that you can either delete or comment out by putting "//" in front of it.
btw vamapaul tnx for the sourcefile i finally got my mp3 player working with a xml file.
Hey, just so you know I found a small bug. If you pause the sound, then scrub to a position it’ll start playing again, which is fine, but it doesn’t change the play button back to pause. So you can hit the play button and it starts the sound again and you then have 2 sounds playing simultaneously. It can be remedied simply by adding
to the soundScrub function.
Other than that it works great, and thank you as I will be using it as a reference for an mp3 player I am building.
Hy, thx you guys for this source
I’ve question, how about autoreplay?
Because, i’ve find that, when a song was ended, it was unable to load the next song.
Thx
If anyone else has this issue regarding not autoplaying with other MP3 files.
Add the following at the end of the soundProgress() function. Seems to do with Event.SOUND_COMPLETE not firing, so we need to detect ending another way/
Was just wondering if anyone could give me a short tutorial on installing this player.
Do a google search on how to embed a SWF file.
Hello,
thx for the code but i have a problem with a code witch give me “TITLE” and “ARTIST” in a dyn.TXTfield.
please help me!
Thank you!!
I’m not sure I understand your problem.
Maby you don’t give an instance name’s to your txt field’s?
Hi! Thanx for code, but i cant understand how to make random song playing?
Before you load a new song, make a random number for the whoIsOn variable. Something like:
Hi, thanx for your answer. I have one more question. Player on my website playing some songs…
All song’s in mp3. I thought that it safety policy, but some songs play…Maby you can promt me the reason…
Hi, my problem is the sound progress line does not move according to my mouse click, when i change the size of player.
Thanks in advance