Animated Gifs on Other Cards
J. Landman Gay
jacque at hyperactivesw.com
Tue Jan 3 16:03:04 EST 2017
On 1/3/17 2:07 PM, Richard Gaskin wrote:
> Richmond Mathewson wrote:
>
>> If a GIF is running on another card I really wonder how you determine
>> that.
>
> Put an animated GIF on a card, and this in the stack script:
>
> on idle
> put the currentFrame of img 1 of cd 1
> end idle
>
> Then go to another card.
>
> Here, a quick test confirms Jacque's hunch; the Message Box only updates
> when I'm on the card with the GIF.
>
Clever. So I got curious, what would happen if the stack is moved
offscreen? Result: it still updates. What happens if you hide the image?
Result: it doesn't update.
I kind of knew that last one already, I've hidden "busy" gifs before
without any repercussions.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list