利用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(); } }
5 Repairs To Upvc Windows Lessons From The Professionals upvc Windows cost
The 10 Scariest Things About Double Glazing Companies Near Me double glazing companies near me
10 Signs To Watch For To Find A New Best Squirting Dildos Squirting Didlo
Saab Keys Tools To Improve Your Daily Life Saab Keys Trick That
Should Be Used By Everyone Learn saab keys (Tiretrail92.bravejournal.net)
Buzzwords De-Buzzed: 10 Alternative Ways To Say Gray Sectional Sofa Grey sectional sofa
What Experts In The Field Want You To Know?
upvc window repair (Reali.Esport.ge)
The 10 Most Scariest Things About Vibrator Clit Best Clitoral Vibrator
5 Clarifications Regarding Volvo Key Fob Volvo Xc60 Replacement Key Cost Uk
How To Create Successful Emergency Glass Door Repair Tutorials On Home
Window Glass Repairers
9 Signs That You’re The Suzuki Car Keys Expert Suzuki swift key fob Programming
Five Laws That Will Aid In The Repair Upvc Window Industry upvc repairs near me (glass-repair41321.theobloggers.com)
Are You In Search Of Inspiration? Try Looking Up Car Diagnostic Price Uk fault
Seven Explanations On Why Replacement Windows Near Me Is
So Important replacement window Near me – emplois.fhpmco.fr –
What’s The Job Market For Sectional Sofas Professionals Like?
sectional sofas with recliners
discount ed pills: Best ED meds online – buy erectile dysfunction medication
What’s The Current Job Market For L Shape Couches Professionals?
l shape couches
5 Cliches About Clean A Fleshlight You Should Avoid male masturbation sleeves, Meghan,
3 Reasons The Reasons For Your Slot Sound Effects
Is Broken (And How To Fix It) Slot Wins
Online medicine home delivery: Online medicine home delivery – online pharmacy india
After exploring a handful of the blog posts on your site, I truly appreciate your way of blogging. I added it to my bookmark site list and will be checking back in the near future. Take a look at my website as well and let me know your opinion.
See What Female Toys Tricks The Celebs Are Using female toys (Jade)
The Most Hilarious Complaints We’ve Received About Volkswagen Key Programming Volkswagen Golf Key Replacement
You have remarked very interesting details! ps nice internet site.
Travel guide
cheapest ed medication: Cheap ED pills online – ed prescriptions online
Your Family Will Be Grateful For Getting This Best Mesothelioma Lawyer Top mesothelioma Lawyers
Undeniable Proof That You Need Rolls Royce Remote Key
In My Area
Capture timeless family memories with our blog featuring Family Photos Calgary. Trust our experienced Calgary Family Photographers to create beautiful portraits you’ll treasure forever
O Brasil possui uma cultura rica e diversificada, onde os jogos de azar têm ganhado popularidade ao longo dos anos. Com o avanço da tecnologia Diamond Jackpot Casino is an exhilarating gaming destination where luxury meets excitement. Offering a wide range of classic and contemporary casino games, from high-stakes poker to immersive slot machines, it promises a top-tier gaming experience.
Diamond Jackpot Casino
mexican online pharmacies prescription drugs: Best pharmacy in Mexico – buying prescription drugs in mexico online
buy prescription drugs from india: Online medicine home delivery – online pharmacy india