hi,
I made a small program that displays my logo and playes the sound. i checked the manual and the help for any help.
The problem is that if i play this music (by unfortuatly) pressing the S button. Wheni keep hold of it. it will keep playing the same file. resulting in taht lots of music files are begin played.
How can i make the Music play automatticly?
============================================================
Global Player
Global snd
Graphics 800,600,16
SetBuffer BackBuffer()
Player=LoadImage("dragonforce logo.jpg")
snd=LoadSound ("set up.mp3")
While Not KeyHit(1)
Cls
If KeyHit (31) PlaySound snd
DrawImage Player,x,y
Flip
Wend
============================================================
regards,
Vyeyendra Ramnares
I made a small program that displays my logo and playes the sound. i checked the manual and the help for any help.
The problem is that if i play this music (by unfortuatly) pressing the S button. Wheni keep hold of it. it will keep playing the same file. resulting in taht lots of music files are begin played.
How can i make the Music play automatticly?
============================================================
Global Player
Global snd
Graphics 800,600,16
SetBuffer BackBuffer()
Player=LoadImage("dragonforce logo.jpg")
snd=LoadSound ("set up.mp3")
While Not KeyHit(1)
Cls
If KeyHit (31) PlaySound snd
DrawImage Player,x,y
Flip
Wend
============================================================
regards,
Vyeyendra Ramnares