Hello guys!
In our project we use next timeline to make some animated effect with some DisplayObject:
// clip is DisplayObject
timeline_ = new TimelineLite({autoRemoveChildren : true, onComplete :
on_complete_});
const y0 : int = targetY;
clip.alpha = 0;
clip.y = y0-90;
clip.scaleX = clip.scaleY = 0.5;
timeline_.append(new TweenLite(clip, 7.0/35, new TweenLiteVars().
x(targetX-(targetX-clip.x)/2).y(y0-140).scale(0.6).autoAlpha(1).ease(Linear.easeNone)));
timeline_.append(new TweenLite(clip, 8.0/35, new TweenLiteVars().
x(targetX).y(y0).scale(1).ease(Linear.easeNone)));
timeline_.append(new TweenLite(clip, 3.0/35, new TweenLiteVars().
y(y0+5).scaleX(1.25).scaleY(0.75).ease(Linear.easeNone)));
timeline_.append(new TweenLite(clip, 2.0/35, new TweenLiteVars().
y(y0+1).scale(1).ease(Linear.easeNone)));
timeline_.append(new TweenLite(clip, 2.0/35, new TweenLiteVars().
y(y0+1).scale(1).ease(Linear.easeNone)));
timeline_.append(new TweenLite(clip, 3.0/35, new TweenLiteVars().
y(y0-8).scaleX(0.9).scaleY(1.1).ease(Linear.easeNone)));
timeline_.append(new TweenLite(clip, 3.0/35, new TweenLiteVars().
y(y0).scale(1).ease(Linear.easeNone)));
timeline_.play();
After upgrading greensock up to v12 we starts receiving complaints from our users about freezing of some objects. Following investigation provided next result: from time to time (about 2-3 of 100 runs of this code) the timeline freezes on last tween. In each case this tween stops with different values of time().
Can you give me any idea what can be wrong? Where do I have to search the reason of such behavior? What kind of extra information can clarify situation and help to resolve it?
Now we on 12.0.15 version of GreenSock and problem is reproducing well.