利用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(); } }
verified accounts for sale accounts-offer.org
online Cialis pharmacy: online Cialis pharmacy – cheap Cialis online
modafinil legality modafinil 2025 modafinil legality
Hey there! I just would like to give you a huge thumbs up for your excellent information you’ve got right here on this post. I will be returning to your blog for more soon.
legit Viagra online: Viagra without prescription – cheap Viagra online
Modafinil for sale Modafinil for sale safe modafinil purchase
modafinil legality: modafinil pharmacy – legal Modafinil purchase
¡Hola expertos del azar !
Juega desde España con free spins España y gana premios reales sin riesgo. No necesitas tarjeta ni verificación complicada. Solo tus ganas de jugar.​
Las tragamonedas mГЎs populares estГЎn incluidas. RegГstrate ahora. 25 giros gratis sin depГіsito ObtГ©n tus giros.
¡Que tengas magníficas rondas inolvidables !
He stopped avoiding hugs, bedtime kisses, and affection once he found kamagra tablets. Your strength depends on choosing the perfect dose.
trusted Viagra suppliers: Viagra without prescription – trusted Viagra suppliers
accounts market https://social-accounts-marketplaces.live
buy generic Cialis online: online Cialis pharmacy – affordable ED medication
Нужен номер для ТГ? Предлагаем купить номер для тг для одноразовой или постоянной активации. Регистрация аккаунта без SIM-карты, в любом регионе. Удобно, надёжно, без привязки к оператору.
trusted Viagra suppliers: fast Viagra delivery – legit Viagra online
reliable online pharmacy Cialis: online Cialis pharmacy – generic tadalafil
Today, I went to the beachfront with my children. I found a sea shell and gave it to my 4 year old daughter and said “You can hear the ocean if you put this to your ear.” She put the shell to her ear and screamed. There was a hermit crab inside and it pinched her ear. She never wants to go back! LoL I know this is entirely off topic but I had to tell someone!
Top up mobile
Thank you ever so for you post.Much thanks again. Will read on…
account market https://buy-best-accounts.org/
account trading platform https://accounts-marketplace.xyz
Нужен номер для ТГ? Предлагаем купить номер для тг для одноразовой или постоянной активации. Регистрация аккаунта без SIM-карты, в любом регионе. Удобно, надёжно, без привязки к оператору.
gaming account marketplace buy accounts
fast Viagra delivery best price for Viagra Viagra without prescription
modafinil pharmacy: buy modafinil online – legal Modafinil purchase
What’s up friends, its impressive piece of writing regarding teachingand fully defined, keep it up all the time.
Top up mobile
http://modafinilmd.store/# purchase Modafinil without prescription
buy generic Viagra online: no doctor visit required – generic sildenafil 100mg
Today, while I was at work, my sister stole my iPad and tested to see if it can survive a forty foot drop, just so she can be a youtube sensation. My apple ipad is now broken and she has 83 views. I know this is entirely off topic but I had to share it with someone!
Mobile plans
And the mark I always give to all the breasts I’ve ever sucked.
legit Viagra online: Viagra without prescription – secure checkout Viagra
Viagra without prescription discreet shipping legit Viagra online