1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
\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}
|