• Post Reply Bookmark Topic Watch Topic
  • New Topic

Swing/Sounds/Urgent.  RSS feed

 
Sonara Rahul
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello sir,
i have a set of soundfiles,& a set of panels,to be displayed when the respective soundfiles are played.
I use Mediaplayer methods such as start(),stop().
i could pass a single file to setFileName()& it plays correctly.

After a sound file is finished it goes to
"javax.media.EndOfMediaEvent".
How could i have a controlover this endofmediaevent so that i could have a count & make set of files to be played.
I pass it as a soundfilearray & it does not play after first file is finished.
So pl.. help me in the endofmediaevent.
Excepting u'r reply as soon as possible,
with regards,
SonaraRahul.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!