summaryrefslogtreecommitdiff
path: root/texmf-dist/source/latex/rmannot/examples/rma/tst_swf.tex
blob: d054c9983a71479390f11e5c26b04899c70686fa (plain)
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
\documentclass{article}
\usepackage{amsmath}
%
% the driver line is not necessary if you
% have aebpro.cfg configured to your driver.
%
\usepackage[%
%    driver=dvips,
    web={pro,tight,usesf},
    eforms,graphicxsp={showembeds},aebxmp
]{aeb_pro}
\usepackage{rmannot}

\margins{.25in}{.25in}{24pt}{.25in} % left,right,top, bottom
\screensize{5in}{5.5in}             % height,width dimensions

\DeclareDocInfo
{
    title=The \texttt{rmannot} Package\texorpdfstring{\\[1ex]}{: } Demo of SWF Animation,
    author=D. P. Story,
    university=Acro\negthinspace\TeX.Net,
    email=dpstory@acrotex.net,
    subject={Demo of the rmannot package, SWF animation},
    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

%
% The \myRMFiles is just a convenience command that points to the
% path of the rich media files for this document. The path 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}
\saveNamedPath{AcroAd}{\myRMFiles/Acro_Advertiser.swf}
%
% This is the poster for the SWF animation, it is in the folder
% of this source file.
%
\makePoster[hiresbb]{AcroAd_poster}{AcroAd_poster}

\parindent=0pt\parskip6pt\pagestyle{empty}

\begin{document}

\maketitle

Flash animation with the default poster appearance.
\begin{center}

\resizebox{!}{.75in}{\rmAnnot{612bp}{265bp}{AcroAd}}

\end{center}

Below is the same Flash animation but with a custom poster.
\begin{center}
\makebox[\linewidth][c]{%
    \resizebox{!}{.75in}{\rmAnnot[poster=AcroAd_poster]{612bp}{265bp}{AcroAd}%
}}
\end{center}


\end{document}