blob: 19f7be117cf72e55969304b95cf743a0e82c8059 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
\documentclass{article}
\usepackage{docassembly}
\usepackage{eforms}
%\usepackage{lipsum}
\hypersetup{pdfpagemode=UseNone}
% Look in the Adobe Acrobat JavaScript manual under the doc.importSound to see all the possible parameters.
\begin{docassembly}
\importSound({cName: "StarTrek", cDIPath: "sounds/trek.wav" });
\executeSave();
\end{docassembly}
\begin{document}
\begin{center}
\pushButton[\CA{Star Trek}\S{S}\W{0}\AAmouseup{%
var s = this.getSound("StarTrek");\r
s.play();
}]{stSound}{}{11bp}
\end{center}
\end{document}
|