diff options
author | Karl Berry <karl@freefriends.org> | 2009-01-27 01:56:05 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-01-27 01:56:05 +0000 |
commit | 0eafc5607fb62a88e9dba8e8ef3a11efae9fd904 (patch) | |
tree | ebc9d7f737e72754a62f9fe6bf9af0cd1dfac178 /Master/texmf-dist/tex/latex/animate | |
parent | 22041095494174f7fa3630f143d1d6e73ebe2e8f (diff) |
animate update (26jan09)
git-svn-id: svn://tug.org/texlive/trunk@11988 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/animate')
-rw-r--r-- | Master/texmf-dist/tex/latex/animate/animate.sty | 49 |
1 files changed, 11 insertions, 38 deletions
diff --git a/Master/texmf-dist/tex/latex/animate/animate.sty b/Master/texmf-dist/tex/latex/animate/animate.sty index 02fdf8df399..8913c7083ac 100644 --- a/Master/texmf-dist/tex/latex/animate/animate.sty +++ b/Master/texmf-dist/tex/latex/animate/animate.sty @@ -12,7 +12,7 @@ \NeedsTeXFormat{LaTeX2e} -\def\@anim@version{2008/10/06} +\def\@anim@version{2008/01/26} \ProvidesPackage{animate} [\@anim@version\space PDF animations from files and inline graphics] @@ -2971,7 +2971,7 @@ % console.show();% % console.clear();% \if@anim@useocg\else - if(typeof(curdoc)=='undefined'){var curdoc=this;}% ref to the Doc object + if(typeof(curdoc)=='undefined'){curdoc=this;}% ref to the Doc object \fi if(typeof(a#1)=='undefined'){% initialize animation a#1=new Object();% @@ -2980,7 +2980,7 @@ a#1.fr=new Array();% \if@anim@controls a#1.btn=new Array();%takes references to control button face ocgs - a#1.sm=1;% speed multiplyer + a#1.sm=1;% speed multiplier \fi% %initialize fr & btn properties \if@anim@useocg @@ -3333,33 +3333,6 @@ };% \fi% \fi% - \if@anim@useocg\else% - %actnEndLeft()/actnEndRight() & actnPlayLeft()/actnPlayRight() versions - %that also work in recent Readers, to be invoked by - %a#1_intd=app.setInterval(...) - a#1.actnSecEndLeft=function(){% - try{app.clearInterval(a#1_intd);}catch(e){}% - a#1.actnEndLeft();% - };% - a#1.actnSecEndRight=function(){% - try{app.clearInterval(a#1_intd);}catch(e){}% - a#1.actnEndRight();% - };% - \if@anim@step\else% - \if@anim@autoplayorresume% - \if@anim@ctrlorplndrm - a#1.actnSecPlayLeft=function(){% - try{app.clearInterval(a#1_intd);}catch(e){}% - a#1.actnPlayLeft();% - };% - \fi - a#1.actnSecPlayRight=function(){% - try{app.clearInterval(a#1_intd);}catch(e){}% - a#1.actnPlayRight();% - };% - \fi% - \fi% - \fi% }% \if@anim@step\else% \if@anim@autoplay% @@ -3372,12 +3345,12 @@ \else \if@anim@ctrlorplndrm if(a#1.playsRight){% - a#1_intd=app.setInterval('a#1.actnSecPlayRight()',1);% + a#1_intd=app.setTimeOut('a#1.actnPlayRight()',1);% }else{% - a#1_intd=app.setInterval('a#1.actnSecPlayLeft()',1);% + a#1_intd=app.setTimeOut('a#1.actnPlayLeft()',1);% }% \else% - a#1_intd=app.setInterval('a#1.actnSecPlayRight()',1);% + a#1_intd=app.setTimeOut('a#1.actnPlayRight()',1);% \fi% \fi% \fi% @@ -3392,12 +3365,12 @@ \else% \if@anim@ctrlorplndrm if(a#1.playsRight){% - a#1_intd=app.setInterval('a#1.actnSecPlayRight()',1);% + a#1_intd=app.setTimeOut('a#1.actnPlayRight()',1);% }else{% - a#1_intd=app.setInterval('a#1.actnSecPlayLeft()',1);% + a#1_intd=app.setTimeOut('a#1.actnPlayLeft()',1);% }% \else - a#1_intd=app.setInterval('a#1.actnSecPlayRight()',1);% + a#1_intd=app.setTimeOut('a#1.actnPlayRight()',1);% \fi% \fi% }% @@ -3431,13 +3404,13 @@ \if@anim@useocg a#1.actnEndRight();% \else - a#1_intd=app.setInterval('a#1.actnSecEndRight()',1);% + a#1_intd=app.setTimeOut('a#1.actnEndRight()',1);% \fi% \else% \if@anim@useocg a#1.actnEndLeft();% \else - a#1_intd=app.setInterval('a#1.actnSecEndLeft()',1);% + a#1_intd=app.setTimeOut('a#1.actnEndLeft()',1);% \fi% \fi% \if@anim@step\else% |