\documentclass{article} \usepackage{amsmath} % % the driver line is not necessary if you % have aebpro.cfg configured to your driver. % \usepackage[% % driver=dvips, web={nodirectory,pro,tight,usesf}, eforms,graphicxsp={showembeds} ]{aeb_pro} \usepackage{rmannot} \margins{.25in}{.25in}{24pt}{.25in} % left,right,top, bottom \screensize{5in}{5.5in} % height, width \DeclareDocInfo { title=The \texttt{rmannot} Package\texorpdfstring{\\[1ex]}{: } SWF with Resources, author=D. P. Story, university=Acro\negthinspace\TeX.Net, email=dpstory@acrotex.net, subject={Demo of the rmannot package, SWF animation with resources}, keywords={Adobe Acrobat, JavaScript, Adobe FLEX 3, ActionScript}, talksite=\url{http://www.acrotex.net}, talkdate={July 2008}, copyrightStatus=True, copyrightNotice={Copyright (C) \the\year, D. P. Story}, copyrightInfoURL=http://www.acrotex.net } \talkdateLabel{Published:} \def\AcroTeX{Acro\!\TeX} % Place \AcroVer{11} in rmannot.cfg, or uncomment line below %\AcroVer{11} % The argument corresponds to the version of Acrobat you have % % Convenience command pointing to the rich media files, this needs % to be edited to point to its location on your system. % \newcommand{\myRMFiles}{C:/Users/Public/Documents/My TeX Files/% tex/latex/aeb/aebpro/rmannot/RMfiles} % % The SWF AcroFlex3_demo.swf, has a skin AcroFlex3_demo_skin.swf, % that itself is an SWF. It is the skin that runs the AcroFlex3_demo.swf % file. We'll save each of these as named paths % \saveNamedPath{mySkin}{\myRMFiles/AcroFlex3_demo_skin.swf} \saveNamedPath{mySWF}{\myRMFiles/AcroFlex3_demo.swf} % % Let's have a custom poster for this demo file % \makePoster[hiresbb]{afldemoposter}{afldemoposter} \parindent=0pt\pagestyle{empty} \begin{document} \maketitle \begin{center} \makebox[\linewidth][c]{% \resizebox{!}{.67\paperheight}{% \rmAnnot[poster=afldemoposter,transparentBG,resources={mySWF}]{537bp}{530bp}{mySkin}% }} \end{center} We use \texttt{mySkin} as the primary SWF, and include \texttt{mySWF} in the list of resources, using the \texttt{resources} key. \begin{verbatim} \rmAnnot[poster=afldemoposter,transparentBG, resources={mySWF}]{537bp}{530bp}{mySkin} \end{verbatim} The skin is the control bar at the bottom, which is fully functional. We also include a custom poster, and specify \texttt{transparentBG}. \end{document}