利用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(); } }
The Next Big Event In The Who Diagnoses ADHD Industry how Can I Get diagnosed With add
See What Renault Trafic Key Fob Tricks The Celebs Are Using
renault trafic Key fob
buy cytotec over the counter http://lisinopril.guru/# cost of lisinopril 40 mg
lasix 100 mg tablet
Five Killer Quora Answers To Treadmills Best treadmills best
The 10 Scariest Things About White Electric Fire Suite
white electric Fire suite
10 Things Everybody Gets Wrong About The Word “Car Keys Programming.” Fob Key Programming
The Secret Secrets Of Volkswagen Key Duplication volkswagen key replacement
сервис ремонт iphone москва
How Car Diagnostic Garage Near Me Became The Hottest Trend Of 2022 In My Area
https://lisinopril.guru/# lisinopril online prescription
tamoxifen buy does tamoxifen cause weight loss tamoxifen for breast cancer prevention
Cytotec 200mcg price https://furosemide.win/# lasix 40mg
lasix 40mg
5 Killer Quora Answers On Treadmills Sale UK treadmills Sale uk
The Reasons Double Glazing Birmingham Has Become The Obsession Of Everyone In 2023 double glazing in birmingham (https://telegra.ph/how-double-glazing-windows-birmingham-changed-my-life-for-The-better-05-21)
айфон центр в москве адреса
You ought to take part in a contest for one of the most useful sites on the net. I will recommend this web site!
5 Arguments CS GO Cases Sites Is Actually A Good Thing case opening
Window Repairs Birmingham Tools To Streamline Your Daily LifeThe One Window Repairs Birmingham Trick That
Everybody Should Learn window Repairs birmingham
Three Reasons To Identify Why Your Electric Wall Fireplace Isn’t
Working (And How To Fix It) wall fireplace electric
– dangercorn3.Werite.net,
Learn About Designer Lounge Radiators While You
Work From At Home Radiator Designs
lipitor canada pharmacy: generic lipitor for sale – lipitor 80 mg cost
lasix generic lasix furosemide furosemide 40 mg
lasix for sale: lasix furosemide 40 mg – furosemida
Very good article! We will be linking to this particularly great post on our website. Keep up the great writing.
сервис центр apple
https://furosemide.win/# furosemida 40 mg
мастер iphone москва
8 Tips For Boosting Your Peugeot 206 Key Replacement
Game Replacement Car key Peugeot 207
http://furosemide.win/# lasix 100 mg tablet
It’s Time To Increase Your Wall Mounted Fireplace Options Wall-Mounted Fireplaces (http://Reali.Esport.Ge/User/Daisygroup92/)