Is there a way to load sound data in jar file using the MediaContainer
class in Java Sound API?

I tried using the following:
MediaContainer mc = new
MediaContainer(getClass.getResource().("...test.wav"));
.......
But it does not work as no sound is loaded.
However, if my code is loaded as an application, which I do not use jar
file, the code
MediaContainer mc = new MediaContainer("...test.wav");
works in the soundscape.

The use of the jar file is because the code is to be loaded over the
net through the browser.

Thanks in advance,
Jason
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to