Are TweenAlign and appendMultiple still supported in the latest GSAP? I came across this Javascript code snippet in a colleague's hand-coded HTML banner ad:
window.TweenAlign = {
NORMAL: "normal",
SEQUENCE: "sequence",
START: "start"
};
var counter = 0;
/* begin animation */
tl.appendMultiple([
TweenLite.to(steering, 1, {rotation:-20, ease: Sine.easeInOut}),
TweenLite.to(steering, 1, {rotation:20, ease: Sine.easeInOut}),
TweenLite.to(steering, 1, {rotation:0, ease: Sine.easeInOut}),
], 2, TweenAlign.START, 1);
The ad works fine and he's using a Google CDN to load GSAP version 1.20. I assume this code is a holdover from the ActionScript days?
I've been using GSAP for years, but haven't come across this before and it doesn't exit in the Docs as far as I can tell. Has tl.appendMultiple been replaced by tl.add and has TweenAlign has been replaced by the TimelineLite position parameter?
The ad still works properly, but I want to make sure that my team is not using old code.