Checking if a button animation has finished (SOLVED)

Started by SupSuper, Sun 22/04/2007 16:03:17

Previous topic - Next topic

SupSuper

When using Button.Animate() to run an animation once, how do I check if the animation has finished?
Programmer looking for work

Khris

Button.Graphic should return a sprite of the animation.

So if you use two identical looking sprites, one as the standard button image, one in the animation's view, Button.NormalGraphic != Button.Graphic during the animation, == otherwise.

SMF spam blocked by CleanTalk