利用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(); } }
where can i buy nolvadex: should i take tamoxifen – tamoxifen warning
https://lisinopril.network/# zestril tablet
buy cipro online canada: cipro for sale – ciprofloxacin generic price
cytotec buy online usa: Abortion pills online – buy cytotec online fast delivery
tamoxifen mechanism of action tamoxifen hormone therapy tamoxifen endometriosis
https://finasteride.store/# generic propecia price
where can i order lisinopril online lisinopril tabs lisinopril prescription coupon
buy cipro online canada п»їcipro generic ciprofloxacin 500 mg tablet price
http://ciprofloxacin.tech/# buy cipro online without prescription
https://cytotec.club/# п»їcytotec pills online
http://lisinopril.network/# buy lisinopril 10 mg tablet
cipro: ciprofloxacin generic – buy cipro online without prescription
https://finasteride.store/# get propecia
zestoretic 20 12.5 mg: lisinopril brand name uk – buy lisinopril 20 mg online usa
https://nolvadex.life/# tamoxifen alternatives premenopausal
http://finasteride.store/# cost cheap propecia tablets
http://finasteride.store/# cost of generic propecia pills
cytotec abortion pill: buy cytotec – cytotec abortion pill
get generic propecia price: propecia without a prescription – cost cheap propecia without dr prescription
http://lisinopril.network/# cost for 20 mg lisinopril
tamoxifen therapy tamoxifenworld tamoxifen therapy
tamoxifen brand name buy tamoxifen arimidex vs tamoxifen bodybuilding
benicar lisinopril: lisinopril 40 mg without prescription – lisinopril generic brand
http://ciprofloxacin.tech/# ciprofloxacin over the counter
https://lisinopril.network/# zestoretic 5 mg
buy lisinopril online india: 40 mg lisinopril for sale – zestril 20 mg price
https://lisinopril.network/# lisinopril 10 mg pill
buy cytotec over the counter: buy cytotec online fast delivery – purchase cytotec
http://nolvadex.life/# tamoxifen hair loss
https://cytotec.club/# buy cytotec in usa