1. #1
    Sencha User
    Join Date
    May 2011
    Posts
    10
    Vote Rating
    0
    dokluch is on a distinguished road

      0  

    Default Start/stop animation onclick

    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?

  2. #2
    Sencha User arnebech's Avatar
    Join Date
    Jun 2010
    Posts
    498
    Vote Rating
    10
    arnebech will become famous soon enough

      0  

    Default


    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).

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi