PDA

View Full Version : please tell me what you think, flash mp3 player


spacether
10-21-2002, 01:33 AM
I made a flash mp3 player:
http://www.syntonik.com/justin/mp3player.html

boyzdynasty
10-21-2002, 03:01 AM
wow..... need to let us know how you did that.
that was neat.

but the interface could use some kool design.

make look more techno or retro.... but to me it doesn't matter.....

i just wanna know how you did the volume control
and of course that browse thingy....... And you did this w/ actionScript?

flx
10-21-2002, 10:07 PM
Tis very good.. but also seemed a bit bugged out. None of the buttons worked as soon as a track started to play. (XPpro,P3,900MHz)

buzza_gts
10-22-2002, 06:40 AM
It works so in my book it is good.
If you could make it only a swf that would be ****-hot.
I've been tryin to develop one totally in flash for some time, but the browse button is killing me.

spacether
10-25-2002, 12:29 AM
it now saves and loads the playlist to your computer, use it once, and go back and it will remember your playlist. Next i will add an "import winamp playlist" option

spacether
11-10-2002, 05:30 PM
hey buzza, I got my browse button working, flash->javascript->form file browser->javascript->flash
If you want to see the newer and much better version now w/ better visual interface, volume control, repeat/random/once through playlist modes/saves playlist to hd/sort playlist alphabetically, and the trickiest of all, a flash button that calls the filebrowser and adds mp3s to the flash playlist:

http://www.syntonik.com/justin/mp3player.html

BirdOnWire
11-10-2002, 09:49 PM
Originally posted by spacether
hey buzza, I got my browse button working, flash->javascript->form file browser->javascript->flash
If you want to see the newer and much better version now w/ better visual interface, volume control, repeat/random/once through playlist modes/saves playlist to hd/sort playlist alphabetically, and the trickiest of all, a flash button that calls the filebrowser and adds mp3s to the flash playlist:

http://www.syntonik.com/justin/mp3player.html
very cool , but can I ask u something, when will you think about making it open source !!!!! :rolleyes:

spacether
11-11-2002, 02:30 PM
i want to make the visual interface better and add more features such as import mp3s from dir, import winamp playlist and stream radio stations, before i release it as open source.

BirdOnWire
11-11-2002, 05:34 PM
Originally posted by spacether
i want to make the visual interface better and add more features such as import mp3s from dir, import winamp playlist and stream radio stations, before i release it as open source.

I will be waiting for that day !

spacether
11-25-2002, 04:11 PM
hey you guys, I'm having a little trouble with one of my mp3player functions. If anyone wants to see some source or help me out leave me a message here:

http://www.actionscript.org/forums/showthread.php3?s=&threadid=19156

spacether
11-26-2002, 03:25 AM
Present features:

improved graphics
volume slider with mute
random/repeat/once through playlist modes
browse and load songs from your own computer into the playlist
import winamp playists (if mp3 player is saved locally)
pan slider
all standard buttons, last song, pause stop play, next
song time position and totaltime display
alphabetize playlist
your playlist is saved to your computer, and is reloaded when you return

What do you think of it? Please leave one.

spacether
12-29-2002, 09:04 PM
Present features:
*means all settings are saved to the hd and loaded when the user returns to the player

initial songs dynamically loaded from unformatted textfile through Flash
volume slider, mute, pan slider*
alphabetized playlist*
random/repeat/once through playlist modes *
browse and load songs from your own computer into the playlist
add songs by url or path
double click song selection in playlist
playlist has multiple selection
songs can be removed with the minus button (single or multiple songs)
Winamp-style draggable playlist songs(New feature)
all standard buttons: last song, pause, stop, play, next song
fast forward, rewind
previous songs array(index based) corrects for any added or removed songs
song time position and totaltime display
supports online and local songs, detects if song is buffering
player keeps the stopped mode or playing mode when moving to the next song

boyzdynasty
12-30-2002, 10:38 PM
wow!!

have not check this out in awhile...you came a long way w/ the interface.

Nice Job.

spacether
01-16-2003, 05:23 AM
I've made the player draggable and skinnable, and finally, after the long wait, I'm releasing the source:
http://www.syntonik.com/justin/mp3player.html

What do you think of it?

Grifter
01-17-2003, 08:20 PM
ermmm, yeah - t'was very good ... until i crashed it - oops! just thought i'd see what it did if you didn't load an mp3 in it, and it wasn't very happy at all (surprisingly!).

aside from that it looks reasonably nice, and does its job (which is always a good thing). I'm working on an mp3 player at the moment - it's a bit simple as there aren't many things that flash can do with mp3's, but still it's nice to have the sense of having created your own app for playing mp3s.
haven't looked at the source - i expect it's similar to my own, except that i haven't included a file browser in mine... is there anyway that flash can run the javascript function by itself i.e. without a web page which uses the function and returns the value? (the other reason i haven't looked at your source is because i'm on a measly 56k which will take forever to download the file - i presume you've kept the sample mp3s in there? any chance you could remove them and upload the fla? don't mind if you can't be bothered)

again, well done

regards
Grifter

spacether
01-17-2003, 10:29 PM
The old source file had one mp3 in it, and I've taken it out, so now the source is only 838 kb. I don't think there's a way to have flash run the function by itself. What do you mean the mp3 player crashed? I want to know more about this bug.

annexion
01-17-2003, 11:00 PM
Holy crap, there are 37 functions in that! You done an excellent job.

Good luck.

jawadjawadjawad
01-18-2003, 12:46 AM
Never seen somthing like this...wish i knew actionscript :(

Keep up the good workl!

jawadjawadjawad
01-18-2003, 12:50 AM
Im not sure if it is my computer (P4 1.50 MHZ) but sometimes a message comes up saying ' a script in this movie is causing macromedia flash player 6 to run slowly> if it continues to run, your comp may become unresponsive. Do you want to abort the script?'

Is anyone else experiencing this problem. I dont think my computer should be doing this

spacether
01-18-2003, 05:48 AM
damn, i tried to make it so it wouldn't do that. I never had that problem, but was aware of the possibility. That usually happens when an infinite loop is run. Was there any time that it would give that error? Dragging? fast forwarding? rewinding etc?

Grifter
01-18-2003, 12:08 PM
having tried it a couple more times, with variations on which type of file i attempt to add, i've found that when you try to add a swf file to the playlist (via the + button) then the player disappears. i wouldn't worry about it too much as i don't think anyone else will be trying to do the same.

another thing i've found, which is probably not a bug, but just an annoying feature is that if you play an mp3, then click on that mp3's name in the playlist then it restarts the track. i guess that you intended this to happen, but it can be annoying if you click it by accident. not sure if you want to keep it like it is or change it, up to you really.

thanks for removing the mp3 from the source, i'm downloading it now and will have a look later - i have yet to implement any saved user settings in my mp3 player so it'll be nice to check with yours if i get stuck.

keep up the good work (- are you planning on doing any more to it? not that i can think of anything to add)

regards
Grifter

spacether
01-20-2003, 10:05 PM
I'm going to fix doubleclick time detection, swf-that happens only because flash cant access swfs unless they're in the same folder so if you added skin2.swf and it was in the same web folder, or computer folder as mp3player.swf and.html, then the skin would load(i think there's some allowdomain thing but i don't care about it that much). I'm going to add winamp playlist importing, and some new skins.

spacether
01-30-2003, 10:10 PM
the + swf also makes the player dissapear because its the beta version of loadskin. If you add a .swf file, using the url buttun gui, or the add button the player will attempt to load the new swf and use it as a skin for the player.

spacether
04-03-2003, 10:08 PM
Much better code, shifted almost fully away from enterframe. Mp3 path is detected with a watch now.

New features: when you click on the time, it shows time remaining, scrolling songtitles

bluegel
04-04-2003, 09:30 AM
thats really cool

amazing