찾기
내용으로 건너뛰기
추적
문서의 이전 판을 선택했습니다!
저장하면 이 자료로 새 판을 만듭니다.
미디어 파일
{{tag>tweenlite}} ====== Tweenlite ====== {{INLINETOC}} TweenLite Tween 클래스의 대표주자 TweenLite http://hwaba.nflint.com/lab/tween/ TweenLite <file> <script src="http://cdnjs.cloudflare.com/ajax/libs/gsap/latest/plugins/CSSPlugin.min.js"></script> <script src="http://cdnjs.cloudflare.com/ajax/libs/gsap/latest/easing/EasePack.min.js"></script> <script src="http://cdnjs.cloudflare.com/ajax/libs/gsap/latest/TweenLite.min.js"></script> </file> TweenMax <file> <script src="http://cdnjs.cloudflare.com/ajax/libs/gsap/latest/TweenMax.min.js"></script> </file> ( jquery 없이 사용 가능 ) <file> var box = document.getElementById( "box" ); TweenLite.to( box, 1.5, { left:100, width:200 } ); </file> <file> TweenLite.to( $("box"), 1.5, { left:100, width:200 } ); </file> ====스타일==== TweenLite.to( box, 1.5, { width:800, height:70 } ); TweenLite.to( box, 1.5, { left:400, top:50 } ); TweenLite.to( box, 1.5, { backgroundColor:#00f; } ); TweenLite.to( box, 1.5, { scaleX:2, scaleY:3, rotation:120 } ); TweenLite.to( "#box", 1.5, { left:800, ease:Power3.easeInOut } ); TweenLite.to( box, 1.5, { left:800, delay:1 } ); TweenLite.to( box, 1.5, { left:800, onComplete:endFunction } ); TweenLite.fromTo( box, 1.5, { left:10, height:30 }, { left:800, height:100 } ); var myTween = new TweenLite.to( box, 1.5, { left:800, paused:true } ); myTween.resume(); myTween.reverse(); //mc3을 알파가 0이고, 현재 위치에서 100픽셀 위인 곳에서 현재 위치로 트윈시킵니다. (vars 인수의 오브젝트는 끝나는 지점이 아닌 시작하는 지점입니다.) TweenLite.from(mc3, 1, {y:"-100", alpha:0});
2+1?
이 필드는 비어 있도록 유지하세요:
저장
미리 보기
취소
편집 요약
참고: 이 문서를 편집하면 내용은 다음 라이선스에 따라 배포하는 데 동의하는 것으로 간주합니다:
CC Attribution-Noncommercial-Share Alike 4.0 International
문서 도구
문서 보기
이전 판
연결문서
맨 위로
다크 모드로 보기
☀️
Toggle Menu
기술
너두 고쳐두 됩니다.
사이트 도구
최근 바뀜
미디어 관리자
사이트맵
사용자 도구
등록
로긴
최근 수정된 문서
a_legacy_forged
[배 빅티스 처리]
hostile_intelligence
[테러모프 보스]
war_relics
[전쟁의 유물 (War relics)]
friends_like_these
[발룬]
divided_loyalites
[제이다]
re-re-application
spacer_scavenger_blattodea
starfield
↷ 링크가 이동 작업으로 인해 적응했습니다
스페이서_스케빈저_블래터디아
↷ 문서 이름이 game:starfield:스페이서_스케빈저_블래터디아에서 game:starfield:spacer_scavenger_blattodea(으)로 바뀌었습니다
고장난_화물선
deserted_trade_authority_starstation
mazoga_the_orc_quest
[(Mazoga The Orc Quest)]
burden_of_the_proof
rook_meets_king
deep_cover
[애들러 캠프]
proxmox_gpu
embryo_transfer
[3일, 5일]