I am making an mp3 player for my friends and i have the main code but when i play it then when i go to the next song then i can't play any song???? i am really confused? could someone help.
`my mp3 player
n=1
backdrop on : color backdrop rgb(0,0,0)
load image "hud2.jpg",1
sprite 1,0,0,1
wait 500
load music "a.mp3",1
load music "b.mp3",2
load music "c.mp3",3
load music "d.mp3",4
load music "e.mp3",5
load music "f.mp3",6
load music "g.mp3",7
load music "h.mp3",8
load music "i.mp3",9
load music "j.mp3",10
load music "k.mp3",11
load music "l.mp3",12
load music "m.mp3",13
load music "n.mp3",14
load music "o.mp3",15
load music "p.mp3",16
load music "q.mp3",17
load image "hud.jpg",2
delete image 1
delete sprite 1
sprite 2,0,0,2
do
if mouseclick()=1 and mousex()=>8 and mousex()=<140 and mousey()=>0 and mousey()=<166 and Click#=0 then play music n
if mouseclick()=1 and mousex()=>150 and mousex()=<375 and mousey()=>0 and mousey()=<166 and Click#=0 then stop music 1 : stop music 2 : stop music 3 : stop music 4 : stop music 5 : stop music 6 : stop music 7 : stop music 8 : stop music 9 : stop music 10 : stop music 11 : stop music 12 : stop music 13 : stop music 14 : stop music 15 : stop music 16 : stop music 17
if mouseclick()=1 and mousex()=>292 and mousex()=<615 and mousey()=>0 and mousey()=<166 and Click#=0 then n=n+1
if mouseclick()=1 then Click#=1
if mouseclick()=0 then Click#=0
loop
I know you don't have media but look how much there is...lol
and
I know it is not finished yet
Plz help
THX