08-21-2013 08:28 AM
I'm using translateTransition on an image and the animation works pretty good but I'm trying to stop the animation with a button press with no luck.
Shouldn't it be mainAnimation.stop() ;
opposite of mainAnimation.play(): to start it.
I checked here...
but I can't seem to find how to stop it.
08-21-2013 08:32 AM
08-21-2013 08:50 AM
Posting your code could help.
Stop doesn't work if you are not specifying the root animation, or perhaps you are inadvertantly starting the animation again when you click the button, does it appear to jump?