I ran script to add Run a javaScript Action like playAudio('001'), playAudio('002') to hundreds of links which have been created manually by other people to access mp3 files. The problem is how I can let one floating media window closed and stopped playing programming with javascript when I click other link to play. I checked Acrobat javascript API doc and guessed events should be working. But I just don't know how to add this part into document script "function playAudio(audio #)". I greatly appreciate your help and thanks in advance.