summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/movie15/movie15.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-05-05 00:03:01 +0000
committerKarl Berry <karl@freefriends.org>2007-05-05 00:03:01 +0000
commit4bb2d3efea659bd0e027df4d2cfa3da1af1be95a (patch)
tree7db286cf8738cc40364618dfdf0eee0b86fef1c7 /Master/texmf-dist/doc/latex/movie15/movie15.tex
parent6c05833cefc91774505f6825b70ee56d8c733cb6 (diff)
movie15 update (3may07)
git-svn-id: svn://tug.org/texlive/trunk@4237 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/movie15/movie15.tex')
-rw-r--r--Master/texmf-dist/doc/latex/movie15/movie15.tex16
1 files changed, 8 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/latex/movie15/movie15.tex b/Master/texmf-dist/doc/latex/movie15/movie15.tex
index 821f068d341..5adffa99389 100644
--- a/Master/texmf-dist/doc/latex/movie15/movie15.tex
+++ b/Master/texmf-dist/doc/latex/movie15/movie15.tex
@@ -225,7 +225,7 @@ Some \verb+<offset>+ examples:
\begin{verbatim}
time:20.5
frame:100
- {marker:"Chapter 1", time:60}
+ {marker:'Chapter 1', time:60}
\end{verbatim}
\hypertarget{lnk:textoption}{}
\begin{verbatim}
@@ -320,11 +320,11 @@ Things like animation, lighting, background etc. may also be script driven. Opti
\end{verbatim}
Embeds additional 3D or \emph{rasterized} image files that can be used as resources while rendering the 3D artwork. Possible file types are U3D, Postscript (\LaTeX{} + \verb+dvips+) and PDF/JPEG/PNG (pdf\LaTeX). Embedded resources must be loaded by the JavaScript method
\begin{verbatim}
- Resource("pdf://<resource path>")
+ Resource('pdf://<resource path>')
\end{verbatim}
where {\tt<resource path>} stands for the path to the resource file as specified by the `\verb+3Dresource+' option. (This is just a naming convention; the files are physically embedded in the final PDF.) The following JavaScript loads an image file that was attached by `\verb+3Dresource=images/sunset.jpg+' as the background.
\begin{verbatim}
- sunset = new Image(new Resource("pdf://images/sunset.jpg"));
+ sunset = new Image(new Resource('pdf://images/sunset.jpg'));
reh = new RenderEventHandler();
reh.onEvent = function(event) {
runtime.removeEventHandler(this);
@@ -396,7 +396,7 @@ Mainly used during document authoring. Camera settings corresponding to the curr
\end{verbatim}
Runs the script \verb+<JavaScript file>+ after clicking the link. Unlike the script that has been associated with the 3D annotation during object embedding, this JavaScript is not directly run by the JavaScript engine of the 3D plug-in, but is run by the Reader's own scripting engine. However, full access to the API of the 3D script engine is provided through the `\verb+context3D+' property of the `\verb+Annot3D+' object. For convenience, an associative array `\verb+annot3D+' has been provided for use within \verb+<JavaScript file>+, in order to easily access the `\verb+Annot3D+' object of the annotation the enclosing link is pointing to. The particular element of the array is referenced by the annotation's label \verb+<label spec>+, enclosed in quotation marks. As an example, the `\verb+scene+' object can be referenced within \verb+<JavaScript file>+ by
\begin{verbatim}
- annot3D["<label spec>"].context3D.scene
+ annot3D['<label spec>'].context3D.scene
\end{verbatim}
For details about Acrobat JavaScript and its Annot3D object, see \cite{jscript}.
@@ -509,7 +509,7 @@ The duration of the media segment to be played. The trailing `\verb+s+' is manda
\end{minipage}
%\newpage
-\item\label{ex3d} Embedded U3D file. It is based on a VRML model by Peter Whitehouse, \href{http://www.wonko.info/vrml/index.htm}{\tt http://www.wonko.info/vrml/index.htm}. Conversion to U3D has been made with DeepExploration\textsuperscript{\scriptsize\textregistered}\cite{dexp}. The file `{\tt dice.vws}' provides predefined views to be selected from the 3D toolbar or by right click. The JavaScript `{\tt turntable.js}' disables the annoying Gimbal rotation mode.
+\item\label{ex3d} Embedded U3D file. It is based on a VRML model by Peter Whitehouse, \href{http://www.wonko.info/vrml/index.htm}{\tt http://www.wonko.info/vrml/index.htm}. Conversion to U3D has been made with DeepExploration\textsuperscript{\scriptsize\textregistered}\cite{dexp}. The file `{\tt dice.vws}' provides predefined views to be selected from the 3D toolbar or by right click.% The JavaScript `{\tt turntable.js}' disables the annoying Gimbal rotation mode.
\begin{minipage}[b]{0.5\linewidth}
{\tt%
@@ -520,8 +520,8 @@ The duration of the media segment to be played. The trailing `\verb+s+' is manda
\phantom{xx}text=(dice.u3d),\\
\phantom{xx}3Droo=27,\\
\phantom{xx}3Dlights=Cube,\\
- \phantom{xx}3Dviews=dice.vws,\\
- \phantom{xx}3Djscript=turntable.js\\
+% \phantom{xx}3Djscript=turntable.js,\\
+ \phantom{xx}3Dviews=dice.vws\\
]\string{\\
\phantom{xx}.5\string\linewidth\\
\string}\string{\\
@@ -545,7 +545,7 @@ The duration of the media segment to be played. The trailing `\verb+s+' is manda
3Droo=27,
3Dlights=Cube,
3Dviews=dice.vws,
- 3Djscript=turntable.js
+% 3Djscript=turntable.js %a bug in Reader 8 causes the script to fail
]{\linewidth}{\linewidth}{dice.u3d}
\end{center}
\movieref[3Dviewindex=N]{dice}{Click here} to cycle through the list of predefined views. \movieref[3Dcalculate=60]{dice}{This link} calculates 3D option settings for a 60\textdegree{} aperture angle of the virtual camera.