Next: slide, Previous: animation, Up: Base modules [Contents][Index]
embed
This module provides an interface to the LaTeX
package
(included with MikTeX
)
for embedding movies, sounds, and 3D objects into a PDF document.
Version 0.13 (2012/09/12) of media9
or later is required.
A more portable method for embedding movie files, which should work on any
platform and does not require the media9
package, is provided
by using the external
module instead of embed
.
Examples of the above two interfaces is provided in the file
embeddedmovie.asy
and externalmovie.asy
in the
animations
subdirectory of the examples directory. For a higher
quality embedded movie generated directly by Asymptote
, use the
animate
module along with the animate.sty
package to
embed a portable PDF animation (see animate).
An example of embedding U3D
code is provided in the file
embeddedu3d.asy
.