Skip to main content
Participating Frequently
November 23, 2006
Question

Paying someone $10 for a quick 5 minute script.

  • November 23, 2006
  • 6 replies
  • 844 views
You'll need Paypal so I can pay you the $10. If you don't have a Paypal account, then just ignore this.

It's quite simple really, but I'm too lazy to look up the code myself. I have a flash file already set up with all the graphics and buttons you need, but I just need someone to script 3 buttons so they play a random song, pause and play. Look at the picture below

FLASH SCREENSHOT (CLICK HERE)

What I need:

1) I need it to play one of 8 songs at random (see below for song files)
2) When someone clicks Next Song, it goes to the next RANDOM song on the list.
3) When someone clicks on "Music On/Off" the music stops, and the graphic changes to the appropriate one.

What you get:
1) The .FLA is already set up with all the artwork and buttons.
2) The URL's of the 8 MP3's that will need to stream.
3) Just download the rar file here and start coding!

Here is the .rar file with everything you need (FLA file plus all the graphics):
Song_Chooser.rar

Song files:
Below are where the song files will stream from. Remember, when the flash anim starts (or if someone refreshes the page), it needs to automatically play one of these 8 songs AT RANDOM.

And here are the locations of the 8 streaming MP3's:

http://www.reallyswell.com/myspace/mysongs/myspacesong_01.mp3
http://www.reallyswell.com/myspace/mysongs/myspacesong_02.mp3
http://www.reallyswell.com/myspace/mysongs/myspacesong_03.mp3
http://www.reallyswell.com/myspace/mysongs/myspacesong_04.mp3
http://www.reallyswell.com/myspace/mysongs/myspacesong_05.mp3
http://www.reallyswell.com/myspace/mysongs/myspacesong_06.mp3
http://www.reallyswell.com/myspace/mysongs/myspacesong_07.mp3
http://www.reallyswell.com/myspace/mysongs/myspacesong_08.mp3

When you're done, please post a link to the file so I can see if it works. First one to do this gets the money! I'll also need the .FLA file so I can change the scrolling text in the future - and it MUST BE ABLE TO OPEN IN FLASH MX 2004.

BONUS:
Today is Thanksgiving Day. If you successfuly do this and post it today, I'll Paypal you $20 instead. I'm in a good mood :)

Let me know if you have any questions or problems downloading the files.
Thanks!
This topic has been closed for replies.

6 replies

kglad
Community Expert
Community Expert
November 24, 2006
ok, there are two versions:

www.gladstien.com/new/songchooser_withAutoPlay.fla
www.gladstien.com/new/songchooser_withoutAutoPlay.fla

i think the music off button should be displayed by default because the music is going to play, by default. so, a user would click that button if they want the music to stop. if they click music off, the music stops and the music on button appears. clicking the music on button would cause the music to restart and the music off button to appear.

if you want it the other way around, i'll change it, but i think that would confuse most users.

and i received payment. thank you!
kglad
Community Expert
Community Expert
November 24, 2006
kglad@hotmail.com

i set it up so it only plays if the next song button is pressed. do you want it to start playing as soon as it loads?

do you also want it to start playing the next song as soon as the previous completes (though this is likely to cause problems for people with slow connections because the music is streaming and flash may misinterpret an end-of-song flag if more song has failed to download while the previously loaded section has completed play.)
TrizzayAuthor
Participating Frequently
November 24, 2006
Hey buddy,

YES I'd like a song (random) to automatically play when the page is loaded.

And do you think you can give me 2 FLA files,
1) one with the next song automatically playing at the end of the current song
2) and one where once the song ends, it does not play the next song until you press the NEXT SONG button.

I want to have both in case the first option causes a lot of problems for people...

Also, by default the "Music On" button should be displayed, while the "Music Off" should be hidden. Then they switch when they are pressed (right now they are superimposed over each other).

Paypal has been sent. Let me know if you got it.

Thanks man!
Ed


quote:

Originally posted by: kglad
kglad@hotmail.com

i set it up so it only plays if the next song button is pressed. do you want it to start playing as soon as it loads?

do you also want it to start playing the next song as soon as the previous completes (though this is likely to cause problems for people with slow connections because the music is streaming and flash may misinterpret an end-of-song flag if more song has failed to download while the previously loaded section has completed play.)


TrizzayAuthor
Participating Frequently
November 24, 2006
Could it be because I'm exporting it from Flash MX 2004? Do you have instant messanger?
TrizzayAuthor
Participating Frequently
November 24, 2006
And don't forget to give me your email addy so I can Paypal you!
kglad
Community Expert
Community Expert
November 24, 2006
it's done:

www.gladstien.com/new/songchooser.fla
TrizzayAuthor
Participating Frequently
November 24, 2006
Wow, thanks kglad! Didn't really think anyone would do it! lol

There's a slight problem though. Here's the .SWF I exported:

http://www.reallyswell.com/myspace/Song_Chooser/test.html

It's not playing any songs for some reason and the default should be "Music On". Any ideas?

kglad
Community Expert
Community Expert
November 23, 2006
do you want the each click of next song to play one of your mp3s at random, or should the first be randomly chosen with the 2nd being any of the remaining 7 and the third any of the remaining 6 etc?
TrizzayAuthor
Participating Frequently
November 23, 2006
Yes, precisely as you described it. Are you coding this now?
Inspiring
November 23, 2006
10$ ?
No one bother to click mouse for 10$