When is a GIF Finished Playing?
brahma at hindu.org
Wed Feb 10 20:48:56 CET 2016
I have a similar need.
Seems we can set the repeatCount, but I don’t see a way to test for “currentLoop”
Theoretically we need something like — where I am making up an unknown prop called “currentLoop":
if (the currentFrame of img "myGif" = the frameCount of img “myGif”) AND \
(the currentLoop of img “myGif" = the repeatCount of img “myGif")
answer “Ok I am indeed done”
On February 10, 2016 at 9:29:57 AM, Ray (ray at linkit.com(mailto:ray at linkit.com)) wrote:
> Thanks Scott, but if you've set the RepeatCount to more than 1 and it's
> looping through the frames, twice for example, isn't there a possibility
> you'll get the CurrentFrame the same as the FrameCount too early?
More information about the use-livecode