Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

AudioClip Instance In An Applet

 
ch praveen
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Friends,
I have implemented the following line in my chat application, 'ac.play()' where ac is an instance of AudioClip. Sometimes it's working fine, but sometimes destroy() method of an applet is called automatically, eventhough I have not closed the browser's window. Iam not able to trace this uneven behaviour eventhough I have embedded, 'ac.play()' stmt. in a try - catch block. Finally in javaconsole window of IE, 'no audio device' is displayed. Can any one help me how to overcome this strange behavior of AudioClip.play() method.

Regards,
Ch.Praveen Kumar.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic