These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

javascript and audio/mp3

MMMM4_wang
Registered: Aug 5 2010
Posts: 5

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.

n/a
MMMM4_wang
Registered: Aug 5 2010
Posts: 5
I solved this. The other problem is that it works only in Firefox and IE on PC. Accessing mp3 file by clicking links don't work on both Acrobat and Reader on Mac. I wonder why.
n/a