利用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(); } }
Undiagnosed ADHD In Women Explained In Less Than 140 Characters adhd with women
1с программа купить http://kupit-1s15.ru/ .
купить готовый диплом
http://kamapharm.com/# Kama Pharm
Kamagra 100mg price
программа 1с купить цена программа 1с купить цена .
вывод из запоя капельница на дому вывод из запоя капельница на дому .
программа 1с купить с установкой программа 1с купить с установкой .
1с программа купить https://kupit-1s15.ru .
вывод из запоя круглосуточно ростов на дону вывод из запоя круглосуточно ростов на дону .
Why Accident Lawyers Brooklyn Is Right For You?
accident Lawsuits
This website was… how do you say it? Relevant!! Finally I’ve found something that helped me. Thanks.
buy cytotec online: п»їcytotec pills online – Cytotec 200mcg price
https://predpharm.shop/# Pred Pharm
order prednisone 10mg
быстрый вывод из запоя ростов быстрый вывод из запоя ростов .
CytPharm: CytPharm – buy cytotec
программа 1с стоимость [url=www.kupit-1s15.ru/]программа 1с стоимость[/url] .
https://dappharm.com/# dap pharm
cheap kamagra
SemaPharm24 SemaPharm24 Sema Pharm 24
http://semapharm24.com/# rybelsus semaglutide tablets
prednisone 10mg for sale
buy dapoxetine online: dap pharm – cheap priligy
Kama Pharm: sildenafil oral jelly 100mg kamagra – Kama Pharm
10 Things That Your Family Taught You About Internal Injury Attorney Near Me
injury attorney near Me
http://cytpharm.com/# buy cytotec over the counter
Kamagra 100mg price
rybelsus semaglutide tablets: semaglutide tablets price – semaglutide tablets price
cheap semaglutide pills semaglutide best price buy rybelsus online
10 mg prednisone: prednisone 54899 – PredPharm
15 Top Pinterest Boards From All Time About Symptoms Of ADHD In Adults symptoms of adhd in adults women
https://kamapharm.com/# Kama Pharm
super kamagra
11 “Faux Pas” That Actually Are Okay To Create With Your Emergency Locksmith Service Near Me local Locksmith service [wifidb.science]
http://semapharm24.com/# rybelsus semaglutide tablets
can you buy prednisone