PDA

View Full Version : Controlling an animated gif?


Fitzbean
08-12-2002, 03:05 PM
Greetings,

I'm assuming there is no way to do this; am I right in my assuption. For example, have the animated gif play once only.. is that possible via javascript or otherwise?

Thanks!
Fitz

beetle
08-12-2002, 03:27 PM
I'm not sure how animated gif's store their animation data, but I do know that all that information is saved with the gif at time of creation. (# of loops, delays per frame, etc) Programs like Adobe's ImageReady let you do this. Also, the animation itself seems to be a run-time process, because hitting your browser's 'stop' button will halt animated gifs.

Fitzbean
08-12-2002, 04:20 PM
Rock on, thanks alot; someone was supplying with a couple of ani gifs, and wanted the "play once" functionality in a browser, which I thought would be a problem, but low and behold, when I actually played the images, they only played once, so he must have handled it on his end. Thanks alot either way.

Fitz