/ Published in: ActionScript 3
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var timeline:TimelineMax = new TimelineMax(); timeline.insert( TweenLite.from( this, openTweenDurationScale, { scaleX : 0.1, scaleY: 0.1, ease: Elastic.easeOut, easeParams:[0.3, 0.3] } ) ); timeline.insert( TweenLite.from( this, openTweenDurationAlpha, { alpha: 0.0, ease: Linear.easeIn } ) );