Menu

#101 Modified imganim to make resets function

closed-accepted
nobody
5
2001-04-14
2001-04-04
No

Building on Robert's latest addition to imganim to fix
the loops problem, I pulled code from the frbimganim I
created a while back. Here is a new version of
imganim that has a functional resets command.
Resets is supposed to return the animation to the
frame 0 image on end of run or a stop.
Areas changed:
1 Modified Robert's loop changes to make it null if
alternates is active
2 Modified the function setResets to allow for a
boolean
3 Modified the stop function to reset the frame
number to 0 and update the image to frame 0
4 Modified the run function under the if resets to
update the image to the frame number 0

New imganim example attached, will need to change the
src directory. Has the resets command
Modified version of imganim.js, all changes commented,
will need stripped out

Cheers,
Dave C.

Discussion

  • David Cushman

    David Cushman - 2001-04-04

    new imganim example and mod imganim.js file

     
  • David Cushman

    David Cushman - 2001-04-05
     
  • David Cushman

    David Cushman - 2001-04-05

    Logged In: YES
    user_id=184008

    I made a mistake on my first post (thanks for the heads up
    Paul). Attached is the corrected zip file. I also added
    some code to enable the selection of the reset frame to be
    the last frame visible or restting the visible frame to 0.

     
  • Robert Rainwater

    • status: open --> closed-accepted
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.