Can I alter the frame rate of an animated GIF by script?

Rob Cozens rcozens at pon.net
Mon May 10 14:52:37 EDT 2004


>I to looked into this and found no script that could alter the frame rate.

Graham, Kevin, et al:

That being the case, would something along the lines of:

set the currentFrame of image "My Animation.gif" to 1
show image "My Animation.gif"
repeat with x 2 to the frameCount of image "My Animation.gif"
   wait [your selected interval]
   set the currentFrame of image "My Animation.gif" to x
end repeat

do what you want?
-- 

Rob Cozens
CCW, Serendipity Software Company

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)


More information about the use-livecode mailing list