When is a GIF Finished Playing?

Ray ray at linkit.com
Wed Feb 10 13:51:17 EST 2016


Does anybody know of an easy way to tell whether a GIF file is playing 
or not?

If possible I'd like to avoid trying to write something involved using 
the CurrentFrame and FrameCount properties.  I'm not even sure how that 
would be done.

I'd rather have something like the sound() function, as in:

on mouseUp
    set the repeatCount of img myGif to 10
    repeat while gif(myImg) is not "done"
    end repeat
    answer "It's done!"
end mouseUp




More information about the use-livecode mailing list