利用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(); } }
http://lisinopril.network/# price of zestril 30 mg
tamoxifen and ovarian cancer: tamoxifen and osteoporosis – tamoxifen for men
cipro pharmacy: ciprofloxacin – ciprofloxacin
buy cytotec online fast delivery buy cytotec pills buy cytotec over the counter
how does tamoxifen work does tamoxifen cause joint pain what happens when you stop taking tamoxifen
buy generic ciprofloxacin: cipro online no prescription in the usa – ciprofloxacin 500mg buy online
https://nolvadex.life/# tamoxifen and osteoporosis
http://finasteride.store/# propecia cheap
https://cytotec.club/# Abortion pills online
buy cytotec in usa: buy cytotec in usa – Cytotec 200mcg price
cytotec buy online usa: buy cytotec – Cytotec 200mcg price
http://finasteride.store/# propecia for sale
lisinopril 50 mg prinivil price zestril 10 mg
http://nolvadex.life/# tamoxifen bone pain
http://cytotec.club/# cytotec online
http://cytotec.club/# order cytotec online
cost of generic propecia without rx: propecia – buy cheap propecia without insurance
does tamoxifen cause menopause: buy tamoxifen – tamoxifen and uterine thickening
tamoxifen brand name: tamoxifen and grapefruit – tamoxifen for men
http://nolvadex.life/# tamoxifen headache
https://ciprofloxacin.tech/# cipro for sale
https://ciprofloxacin.tech/# cipro online no prescription in the usa
http://mexicoph24.life/# mexico pharmacy
https://indiaph24.store/# buy medicines online in india
best online pharmacies in mexico: Online Pharmacies in Mexico – reputable mexican pharmacies online
buying from online mexican pharmacy: Mexican Pharmacy Online – mexico drug stores pharmacies
legitimate canadian pharmacy online Large Selection of Medications from Canada escrow pharmacy canada
mexican drugstore online Online Pharmacies in Mexico medicine in mexico pharmacies
http://indiaph24.store/# indian pharmacy
https://mexicoph24.life/# mexican online pharmacies prescription drugs