Notice
Recent Posts
Recent Comments
The Spotless Mind
TweenMax 본문
트윈맥스 사용하는데 자꾸 까먹는... 소스 정리겸
yoyo / repeat 기능
yoyo / repeat 기능
import com.greensock.*; import com.greensock.easing.Cubic;javascript:; TweenMax.to( obj, 1, { ease:Cubic.easeIn, y:200, scaleY:0.8, yoyo:true, repeat:-1 } );
import com.greensock.*; import com.greensock.easing.Back; var text:Array = [ txt0, txt1, txt2, txt3, txt4, txt5, txt6, txt7 ]; for( var i:int = 0; i < text.length; ++i ) { text[ i ].alpha = 0; TweenMax.to( text[ i ], 2, { ease:Back.easeOut, y:80, alpha:1, delay:0.1 * i ,yoyo:true, repeat:-1} ); }
'DESIGN Factory > 웹 디자인' 카테고리의 다른 글
bas jan ader (1) | 2007.04.25 |
---|