Patches item #413598, was updated on 2001-04-03 19:02 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=305757&aid=413598&group_id=5757 Category: DynAPI 2 Widget Group: None Status: Open Priority: 5 Submitted By: David Cushman (lifeafter) Assigned to: Nobody/Anonymous (nobody) Summary: Modified imganim to make resets function Initial Comment: 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. ---------------------------------------------------------------------- >Comment By: David Cushman (lifeafter) Date: 2001-04-04 18:19 Message: 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. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=305757&aid=413598&group_id=5757 _______________________________________________ Dynapi-Dev mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/dynapi-dev
