I haven't done this in a long time, but in theory you should be able to compare the currentFrame of the GIF with the frameCount.
if the currentFrame of img "myGif" = the frameCount of img "myGif" then answer "It's done" Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/10/16, 10:51 AM, "use-livecode on behalf of Ray" <use-livecode-boun...@lists.runrev.com on behalf of r...@linkit.com> wrote: > 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 > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode