利用Tweener製作動畫 – 即時時鐘
前面已經介紹了很多利用Tweener所產生的動畫方式,接下來的幾篇文章,馬老師將會分享一些利用Tweener所製作出來的效果給大家參考,相信只要用心,大家都可以做出很酷的效果!
主要利用Tweener和Flash擷取時間的功能,製作了一個時鐘,最主要是秒針移動的效果。
import caurina.transitions.Tweener; pointerFn(); function pointerFn() { var now:Date = new Date ; var nowH:int = now.hours; var nowM:int = now.minutes; var nowS:int = now.seconds; pointerH.rotation=nowH*30+(nowM*6/12); pointerM.rotation = nowM * 6; pointerS.rotation = nowS * 6; } setInterval(clockFn,1000); function clockFn() { Tweener.addTween(pointerS, {rotation:pointerS.rotation+6, time:0.5, transition:"easeOutElastic"}); if (pointerS.rotation == 0) { pointerFn(); } }
Online Casino – Play And Win 프라그마틱 무료체험
A Handbook For Collapsible Mobility Scooters From Beginning To End 1559014.Xyz
The Three Greatest Moments In Link Alternatif Borneoslot History 287682 (http://Www.287682.Xyz)
Could Shopping Online Be Hazardous To Your? 다바오 충전
Say “Yes” To These 5 Outdoor Wood Burning Stove Tips 913875
(http://Www.913875.Xyz)
10 Websites To Help You Develop Your Knowledge About Sectionals Sofas
4452346.xyz
The Most Hilarious Complaints We’ve Heard About Single
Stroller For Sale 9324874 (Jamel)
Mobility Scooter Buyers Near Me: A Simple Definition 6699101.xyz (6699101.Xyz)
OOHOO, a leading video editing company, partners with top brands such as Marriott Hotel, JBL, Molly Maid, Park Hyatt, and Murex. Trust us to bring your vision to life with our professional video editing and production services.
How To Play Baccarat And Win 디지몬어드벤처 라스트 에볼루션 더빙
Responsible For A Coffee Maker For Pods Budget? Twelve Top Ways To
Spend Your Money 822547
The Reason Pet Health Is The Obsession Of Everyone In 2023 836614.xyz