Jump to content
Search Community

_Tron_

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by _Tron_

  1. I was just playing around and for some reason, even though I kill all tweens after the mouse leaves the element, it slows down the tween over time...

     

    http://jsfiddle.net/Lightning_II/A6jRp/17/

     

    I realize somehow its stacking or the tween is conflicting with itself but shouldn't the kill stop it from doing that?

    $(".category").hover(
    function(){
     TweenMax.to($(this), .2, {autoAlpha:1});
     TweenMax.to($(this).parent().children(".region-icon"), 2,  {rotation:"360_cc", ease:"Linear.easeNone",repeat:-1});
    },
    
    
    function(){
     TweenMax.to($(this), .2, {autoAlpha:.8});
     TweenMax.killTweensOf($(this).parent().children(".region-icon"));
    });

     

×
×
  • Create New...