我有这个代码:
import com.greensock.*;
import com.greensock.easing.*;
import com.greensock.events.*;
var timeline:TimelineMax = new TimelineMax({yoyo:true,repeat:1});
var timeline2:TimelineMax = new TimelineMax({repeat:0,delay:12});
timeline.appendMultiple([
TweenLite.from(crno_mc, .2, {x:-450,ease:Cubic.easeInOut}),
TweenLite.from(plavo_mc, .2, {x:-450,ease:Cubic.easeInOut}),
TweenLite.from(network_mc, .6, {x:-450,ease:Cubic.easeInOut}),
TweenLite.from(computers_mc, .6, {x:-450,ease:Cubic.easeInOut}),
TweenLite.from(odzaci_mc, .6, {x:-450,ease:Cubic.easeInOut}),
TweenLite.from(adresa_mc, 1, {x:-350,ease:Cubic.easeInOut}),
TweenLite.to(adresa_mc, 1, {x:50,ease:Cubic.easeInOut}),
], 1, TweenAlign.SEQUENCE, .3);
timeline2.appendMultiple([
TweenLite.to(krediti_mc, .2, {x:10,ease:Cubic.easeInOut}),
TweenLite.to(dodva_mc, .3, {x:10,ease:Cubic.easeInOut}),
TweenLite.to(nula_mc, 1, {x:10,ease:Bounce.easeOut}),
TweenLite.to(tel_mc, .6, {x:10,ease:Cubic.easeInOut}),
TweenLite.to(comp_mc, 1, {x:110,ease:Cubic.easeInOut}),
], 1, TweenAlign.SEQUENCE, .5);
如何循环这两个补间?当第二个动画完成时,它会停止。是否可以在无限循环中一个接一个地运行时间线?
肿瘤坏死因子