利用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(); } }
ezetimibe 10mg sale tetracycline 250mg us buy motilium 10mg generic
I really love this article.
I like what you have to offer. Keep up the good work!
Thank you for this great piece of content. Best Regards
sildenafil 100mg tablet sildenafil citrate 50mg cialis 20 mg price
buy dapoxetine 60mg online cheap diltiazem 180mg pills allopurinol 100mg tablet
The sketch is tasteful, your authored material stylish.
Hello there, You have done an incredible job. I will certainly digg it and personally recommend to my friends. I am sure they will be benefited from this site.
A wholly agreeable point of view, I think primarily based on my own experience with this that your points are well made, and your analysis on target.
Good day! This is my first comment here so I just wanted to give a quick shout out and say I really enjoy reading through your articles. Can you recommend any other blogs/websites/forums that cover the same subjects? Thanks a lot!
college paper help ventolin us desloratadine 5mg over the counter
I am glad to be a visitor of this perfect blog !, appreciate it for this rare info!
prilosec for sale order metoprolol 50mg pills medrol 8 mg for sale
Howdy I wanted to write a new remark on this page for you to be able to tell you just how much i actually Enjoyed reading this read. I have to run off to work but want to leave ya a simple comment. I saved you So will be returning following work in order to go through more of yer quality posts. Keep up the good work.
plaquenil 200mg over the counter – cenforce 50mg usa cenforce without prescription
Greetings! This is my first visit to your blog! We are a collection of volunteers and starting a new initiative in a community in the same niche. Your blog provided us beneficial information. You have done a wonderful job!
seroquel generic
order generic neurontin 100mg – stromectol pills ivermectin lotion for lice
What’s Happening i’m new to this, I stumbled upon this I’ve found It positively useful and it has aided me out loads. I hope to contribute & help other users like its aided me. Great job.
order prednisone 20mg pill – buy amoxicillin 1000mg without prescription prednisolone 10mg pills
Wow, amazing blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your site is wonderful, let alone the content!
This is the wave – the big wave.
natural pills for erectile dysfunction – buy ed pills for sale viagra 50mg kaufen ohne rezept
fildena 50mg for sale – cefuroxime ca buy sildenafil 150mg sale
purchase metronidazole sale – bactrim oral cost cephalexin
where to get over the counter viagra
propecia pills – buy acillin pills brand cipro 500mg
I like to spend my free time by scanning various internet resources. Today I came across your website and I found it has some of the most practical and helpful information I’ve seen.
ondansetron tablet – buy valacyclovir 1000mg generic order valacyclovir 1000mg for sale
The post is absolutely fantastic! Lots of great info and inspiration, both of which we all need! Also like to admire the time and effort you put into your website and detailed info you offer! I will bookmark your website!