all groups > flash actionscript > november 2006 >
You're in the

flash actionscript

group:

Paying someone $10 for a quick 5 minute script.


Paying someone $10 for a quick 5 minute script. Trizzay
11/23/2006 11:34:14 PM
flash actionscript:
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

http://www.reallyswell.com/myspace/images/songplayer_raster.gif

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):
http://www.reallyswell.com/myspace/Song_Chooser.rar

Song files:
Below are where the song files will stream from. Remember, when the flash
file starts, it needs to automatically play one of these 8 songs AT RANDOM.

And here are location 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
give you $20. I'm in a good mood :)

Let me know if you have any questions or problems downloading the files.
Thanks!

Re: Paying someone $10 for a quick 5 minute script. kglad
11/23/2006 11:44:45 PM
Re: Paying someone $10 for a quick 5 minute script. Trizzay
11/23/2006 11:49:27 PM
Re: Paying someone $10 for a quick 5 minute script. kglad
11/24/2006 1:05:45 AM
it's done:

Re: Paying someone $10 for a quick 5 minute script. Trizzay
11/24/2006 1:54:37 AM
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?


Re: Paying someone $10 for a quick 5 minute script. Trizzay
11/24/2006 1:55:41 AM
Re: Paying someone $10 for a quick 5 minute script. Trizzay
11/24/2006 2:29:30 AM
Re: Paying someone $10 for a quick 5 minute script. kglad
11/24/2006 2:53:54 AM
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.)
Re: Paying someone $10 for a quick 5 minute script. Trizzay
11/24/2006 3:40:07 AM
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


[q][i]Originally posted by: [b][b]kglad[/b][/b][/i]
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.)[/q]


Re: Paying someone $10 for a quick 5 minute script. kglad
11/24/2006 3:57:39 AM
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!
Re: Paying someone $10 for a quick 5 minute script. urami_
11/24/2006 7:38:41 AM
10$ ?
AddThis Social Bookmark Button