Start/stop animation onclick
I was searching the forum but didn't find code.
I have an object that needs to start animating when clicked.
Earlier using Webkit I was initially setting -webkit-animation-name CSS property to "none", and then to its proper name on click.
Any suggestions how to do it in Sencha?
You should be able to do the same thing. In Animator, just give an element a css id, and you can use some custom JS to remove the animation name (make sure you store it though), and then put the animation back in when you want to play (must be in the same scene).
Tags for this Thread