|
@@ -192,15 +192,15 @@ function handleComplete(evt, comp) {
|
|
var anim = new TimelineMax({ onComplete: callback });
|
|
var anim = new TimelineMax({ onComplete: callback });
|
|
anim.to(dom, 0.5, { x: "+=" + x, y: "+=" + y,scale:1.1, ease: Power0.easeIn })
|
|
anim.to(dom, 0.5, { x: "+=" + x, y: "+=" + y,scale:1.1, ease: Power0.easeIn })
|
|
.to(dom, 0.3, { rotation: "-=25", ease: Power0.easeIn })
|
|
.to(dom, 0.3, { rotation: "-=25", ease: Power0.easeIn })
|
|
- .to(exportRoot.pot.powder, 0.1, { alpha: 1, ease: Power0.easeIn },"-=0.1")
|
|
|
|
- .to(exportRoot.pot.powder, 0.3, { x: "-=15",y:"+=55",alpha:0, ease: Power0.easeIn },'-=0.2')
|
|
|
|
|
|
+ .to(exportRoot.powder, 0.1, { alpha: 1, ease: Power0.easeIn },"-=0.1")
|
|
|
|
+ .to(exportRoot.powder, 0.3, { x: "-=15",y:"+=55",alpha:0, ease: Power0.easeIn },'-=0.2')
|
|
.to(dom, 0.3, { rotation: "+=25", ease: Power0.easeIn })
|
|
.to(dom, 0.3, { rotation: "+=25", ease: Power0.easeIn })
|
|
- .to(exportRoot.pot.powder, 0.01, { x: "+=15",y:"-=55",alpha:0, ease: Power0.easeIn })
|
|
|
|
|
|
+ .to(exportRoot.powder, 0.01, { x: "+=15",y:"-=55",alpha:0, ease: Power0.easeIn })
|
|
.to(dom, 0.3, { rotation: "-=25", ease: Power0.easeIn })
|
|
.to(dom, 0.3, { rotation: "-=25", ease: Power0.easeIn })
|
|
- .to(exportRoot.pot.powder, 0.1, { alpha: 1, ease: Power0.easeIn },"-=0.1")
|
|
|
|
- .to(exportRoot.pot.powder, 0.3, { x: "-=15",y:"+=55",alpha:0, ease: Power0.easeIn },'-=0.2')
|
|
|
|
|
|
+ .to(exportRoot.powder, 0.1, { alpha: 1, ease: Power0.easeIn },"-=0.1")
|
|
|
|
+ .to(exportRoot.powder, 0.3, { x: "-=15",y:"+=55",alpha:0, ease: Power0.easeIn },'-=0.2')
|
|
.to(dom, 0.3, { rotation: "+=25", ease: Power0.easeIn })
|
|
.to(dom, 0.3, { rotation: "+=25", ease: Power0.easeIn })
|
|
- .to(exportRoot.pot.powder, 0.1, { alpha:0, ease: Power0.easeIn });
|
|
|
|
|
|
+ .to(exportRoot.powder, 0.1, { alpha:0, ease: Power0.easeIn });
|
|
return anim;
|
|
return anim;
|
|
}
|
|
}
|
|
|
|
|