I'm using s:Animate to blink a text in Flex. But i want it to stop after a few seconds. I have set the duration to '500'. But it seems to be blinking infinitely. How do i stop it?
This is my animate code:
valueFrom="1.0" valueTo="0.0" />
And in the creationComplete event i call :
How do i stop it?
Found the Answer. If the repeat count is set to '"0", then the effect will play indefinitely. So we need to set the repeat count to an integer value which describes the amt of time the effect is to be played. For instance, in the above example, the duration is set to 500 ms. So if i set the repeat count to 1, then the effect will be played once.