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

Using Javascript to pause/stop a sound and movie file in Acrobat 8

blytonold
Registered: Aug 14 2008
Posts: 5

Hi

I'm looking for a simple piece of Javascript that will allow me to stop or pause an embedded sound and video clip in a PDF.

I am using Acrobat 8 Pro on Win XP SP2.

Any help will be much appreciated.

Regards

George

My Product Information:
Acrobat Pro 8.1.2, Windows
tplumer
Expert
Registered: Dec 1 2005
Posts: 122
Hi George,

I don't know the specific javascript, but you can accomplish this with Actions. For example, you can create a button and attach an action to it to Play Media. If you do need a JavaScript, I suggest the following resources:

Thom Parkers JavaScript corner:

http://www.acrobatusers.com/tech_corners/javascript_corner/index.php

the Adobe developer's site offers the complete list of JavaScript methods and object properties:

http://www.adobe.com/devnet/acrobat/javascript.php

Finally, you may want to watch Joel Geraci's blog:

http://blogs.adobe.com/pdfdevjunkie/

Tim

I am a long-time Acrobat user, an employee of Adobe Systems, and Maine native. I have created training videos for Total Training, consulted with people to help them better use Acrobat, and developed new business for Adobe as a Business Development Manager