Controlling GIF animation
Klaus Major
klaus at major-k.de
Wed Mar 8 05:12:32 EST 2006
Hi Scott,
> Anyway to pause GIF animation in an image or player?
yes :-)
To stop an animated gif (in an image object):
...
set the repeatcount of img "name fo gif here" to 0
...
will stop the naimation (even if it is displayed inside a button as
an icon)
...
set the repeatcount of img "name fo gif here" to -1
...
will (start and) loop the animation until the end of time :-)
You might want to take a look at my "The taming of the animated Gif"
stack in Rev online -> user: klausimausi :-)
If you display an animated gif inside a player object, simply start
or stop the player.
Regards
Klaus Major
klaus at major-k.de
http://www.major-k.de
More information about the use-livecode
mailing list