Hi,Is support for Optional Contents Groups og layeres in pdf-files planned for pdf2swf?
I often create presentations with LaTeX that contain animations made with the LaTeX package animate.sty. When these pdf-files are converted to swf with pdf2swf all frames of the animations are shown at the same time.
Here is a minimal example of a LaTeX document that generates an animation that illustrates the problem:
Save as test.tex and compile with pdflatex test.tex (I have attached the output, but I don't know if attachments are allowed on the mailing list).
%% test.tex
\documentclass{minimal}
\usepackage{tikz,animate}
\pdfoutput=1
\pgfrealjobname{temp}
\newcounter{ang}
\setcounter{ang}{0}
\begin{document}
\beginpgfgraphicnamed{test}%
\begin{animateinline}[loop,autoplay]{36}
\whiledo{\theang<360}{%
\begin{tikzpicture}
\draw (0,0) circle (2cm);
\draw (0,0) -- (\theang:2);
\end{tikzpicture}%
\addtocounter{ang}{36}\newframe
}%
\end{animateinline}
\endpgfgraphicnamed
\end{document}
%% EOF test.tex
Best regards,
Martin Heller
test.pdf
Description: Adobe PDF document
