I need to play a mid file in a java applet and I can not find any info on why my sound will not play I have the following code in my program:
URL uwhere;
uwhere = getDocumentBase ();
audio = getAudioClip (uwhere, "C:\Documents and Settings\usernamehere\Desktop\webapp\beetlejuiceR");
audio.play ();
From what I have seen this coding is correct but if still generates errors. The errors are that the \ are a unknown symbol. Do I need different code (if so please post the correct code) or is there a error that I can not see (if so please post how to fix the error) .
2006-09-28
11:58:40
·
3 answers
·
asked by
thexlaw
2
in
Computers & Internet
➔ Programming & Design