Advertisement

getaudioclip

Started by October 26, 2006 02:43 PM
0 comments, last by Kelly G 18 years, 2 months ago
Audioclip radiostation; radiostation = getAudioClip(getDocumentBase(), "damce.wav"); radiostation.play(); im getting nullpointerexception in the getdocumentbase() part. i need the url but not sure what the url is for the music sample? the music sample is located in the same file as the java code.
try the old "./damce.wav" if that file is in the same directory as your executable. Is it "dance.wav" by any chance?

This topic is closed to new replies.

Advertisement