Slide 86
Slide 86 text
ෳͷλΠϜϥΠϯΛɺ৽ͨͳλΠϜϥΠϯʹ߹ମ
function timeline1() {
var tl = new TimelineMax();
tl.fromTo('#obj1', 3, ... '+=0')
.staggerFromTo('.class1', 3, ...)
return tl;
} var masterTl = new TimelineMax();
master
.add(timeline1(), 'scene1')
.add(timeline2(), 'scene2');
masterTl.play()
function timeline2() {
var tl = new TimelineMax();
tl.staggerFromTo('.class2', 3, ...)
.fromTo('#obj2', 3, ... '+=0')
return tl;
}