Hi all,
I have one transform tween being applied to an object on mousmove event:
TweenMax.to("#colon", 0.1, {attr:{transform: "matrix(0,1,-1,0, "+(100+moveX) +","+ (50+moveY)+")"}})})
and one infinite timeline that tweens the scaleX (kinda like a blinking animation):
var tl = new TimelineMax({repeat: -1});
tl.to("#colon", 0.1, {scaleX:0, transformOrigin: "50% 50%"}, "+=2")
.to("#colon", 0.1, {scaleX:1, transformOrigin: "50% 50%"})
Now the problem is whenever the scaleX tween happens it resets the matrix transform of the object (causing a glitch I don't want!).
Is there any way to solve it so that the infinite timeline factors all the movements happening from mouse move event?
Thanks,