Be a Supporter!
Striker028
Striker028
  • Member since: Jun. 11, 2005
  • Offline.
Forum Stats
Member
Level 15
Blank Slate
Music player Dec. 13th, 2006 @ 06:37 PM Reply

does anyone know the actionscript for music players? like the stop button, pause, play, music selection, stuff like that on flash. if not, any tutorials? i know where to find them, but i looked at two and they didn't really give me what i needed. so if u know any specific ones, or maybe u could just tell me urself, that would be great.

Nighthawkstudio
Nighthawkstudio
  • Member since: Feb. 9, 2006
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to Music player Dec. 13th, 2006 @ 06:59 PM Reply

I dont know how to code it but

you should have it so stop is stopallsounds() i think its like that
then play playsound ()

and you should have a variable named current song, so when you try to play it it plays the slected song

Striker028
Striker028
  • Member since: Jun. 11, 2005
  • Offline.
Forum Stats
Member
Level 15
Blank Slate
Response to Music player Dec. 13th, 2006 @ 07:14 PM Reply

do u know how to store variables?

Nighthawkstudio
Nighthawkstudio
  • Member since: Feb. 9, 2006
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to Music player Dec. 13th, 2006 @ 07:59 PM Reply

At 12/13/06 07:14 PM, Striker028 wrote: do u know how to store variables?

Yes i do man, thats basic AS

just make it that when you click the button the currentsong var changes to the song you clicked.
Then if current song is Boulevard of broken dreams, playsound boulevard of brokendreams