\documentclass{article} \usepackage{amsmath} \usepackage[% % driver=dvips, web={pro,tight,usesf}, eforms,exerquiz,dljslib={ImplMulti}, graphicxsp={showembeds} ]{aeb_pro} \usepackage{rmannot} \usepackage{acroflex} \margins{.25in}{.25in}{24pt}{.25in} % left,right,top, bottom \screensize{5in}{5.5in} % height, width dimensions \DeclareDocInfo { title=\texorpdfstring{{\AcroFLeX}}{AcroFleX} Graphing System \texorpdfstring{\\[1ex]}{: }Graphing a Subinterval, author=D. P. Story, university=Acro\negthinspace\TeX.Net, email=dpstory@acrotex.net, subject=Demo of the acroflex and the rmannot package, 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:} \setWindowOptions{showtitle} \requiredVersionMsg{% Version 9 required: This document may be viewed, but version 9 of Acrobat/Adobe Reader is required to view the rich media annotations present in this document.} \requiredVersionMsgRedirect{% Version 9 required: This document may be viewed, but version 9 of Acrobat/Adobe Reader is required to view the rich media annotations present in this document.} \requiresVersion[warnonly]{9} \def\AcroTeX{Acro\!\TeX} \def\myURL{http://www.math.uakron.edu/\string~dpstory} % % The following definitions are for the rmannot package. % The \saveNamedPath associates the name AcroAd with the % path to a Flash animation, Acro_Advertiser.swf. % The two \makePoster definitions are for the posters of the % rich media annotations. The first for the animation on page 1 % and the second for all the AcroFlex graphing screens. \newcommand{\myRMFiles}{C:/Users/Public/Documents/My TeX Files/% tex/latex/aeb/aebpro/rmannot/RMfiles} %\newcommand{\myRMFiles}{C:/AcroTeX/acrotex/aebpro/rmannot/RMfiles} \saveNamedPath{AcroAd}{\myRMFiles/Acro_Advertiser.swf} %\saveNamedPath{AcroAd}{Acro_Advertiser.swf} % % See the rmannot documentation. You can create your own % poster graphic and declare it in the preamble. % \makePoster[hiresbb]{aflogo}{aflogo} \parindent=0pt \pagestyle{empty} \optionalPageMatter{% \begin{center} \begin{minipage}{.7\linewidth} \resizebox{\linewidth}{!}{% \rmAnnot[poster=AcroAd_poster,enabled=pageopen]{612bp}{265bp}{AcroAd}}% \end{minipage} \end{center} } \begin{document} \maketitle \dimScreenGraph{186bp}{186bp*3/4} \graphName{graph1} \begin{center} {\large\textbf{\textcolor{blue}{Curves with filled area}}}\\[3ex] \graphScreen[poster=aflogo]{\hScreenGraph}{\vScreenGraph}\par\smallskip \makebox[\hScreenGraph][c]{\small\graphClrBtn{}{11bp}} \end{center} % I've added a new parameter xPlot, the value is an interval of numbers over which % the graph is to be plotted. See the documentation in acroflex.dtx for a little more % detail. xInterval={[-1.6,1.6]}, \defineGraphJS{graph=c1,wait,xInterval={[-1.6,1.6]},yInterval={[-.5,2]},points=40}{x^2}{\myParabola} \defineGraphJS{graph=a1,wait,xPlot={[-1,0]},xInterval={[-1.6,1.6]},yInterval={[-.5,2]},points=40}{x^2}{\myShadedParabola} \defineGraphJS{graph=a2,wait,xPlot={[-1,0]},xInterval={[-1.6,1.6]},yInterval={[-.5,2]},points=4}{1}{\myHLine} View a shaded curve, and be \setLinkText[\A{\JS{% \clearGraphJS\r \myShadedParabola\r \myHLine\r \myParabola\r }}]{amazed!}% \end{document}