At 6/7/2007, Angel Herraez wrote:
> > I have two buttons that do "anim on" and "anim off". The problem is
> > that although "anim off" freezes the animation at its current
> > position (or close to it), "anim on" starts over from frame 1. One
> > wants to stop the animation at a specific point, then resume it from
> > that point. What are the best commands to achieve this?
>
>If I remember corectly, you need "anim play" or "anim resume" instead
>of "anim on". Anim on always starts from the beninning.
>I wrote a testing page that may be useful for you, Eric, at
>http://biomodel.uah.es/Jmol/multimodel/

Yes, Angel, thanks, your suggestion works.
"anim play" or "anim resume" starts animation (even for the first 
time) and resumes from the current model after "anim stop". In 
contrast, "anim on" restarts from the first frame.

-Eric 


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to