I have an IE8 alpha issue with an animation I'm working on.
So I wanted to use killTweensOf() similiarly to how the doc's recommended to use it:
TweenMax.killTweensOf(myObject, {opacity:true, x:true});
my code:
tl_demo = new TimelineMax({paused: true});
tl_demo.to( $(".demo"), 1, { alpha:1, ease:Power2.easeOut })
.from( $(".demo"), 1.2, { left:"300px", ease:Power2.easeInOut});
var el = document.createElement('canvas'); if (el.getContext && el.getContext('2d')) { TimelineMax.killTweensOf(tl_demo, {opacity:true); }
Im using the latest version of gsap, but I haven't been successful at killing the opacity tween part of my animation.
However,
TweenMax.killTweensOf($(".demo"));
works fine.
Any help?