CS5 Launch
Wednesday, March 24th, 2010That’s right. Register for the online event Monday April 12, 2010. So go and get registered and see some really super cool stuff!
That’s right. Register for the online event Monday April 12, 2010. So go and get registered and see some really super cool stuff!
That’s really all I have to say. It’s a monumental must have release. I look forward to talking more about it at a later date.
So you’re getting further into Actionscript for your interactive projects and you dip your toe into the pool of programmatic animations. It seems like a good idea. All of your transitions can be managed from a few lines of code in one central place. You happily travel down the road of the Tween Class. You do a few tests, it’s easy to use, the results look great, and set off to implement it into your larger project.
You soon find out that the tween class chokes. It chokes hard and fails at unusual times in spectacular fashion. What do you do? You’ve spent all of this time setting up the Tween Class, and you love the idea of centralized transition control. Don’t worry there’s a great alternative, Tween lite.
Here are some examples of the Tween Class and Tween Lite in a typical scenario. There are three buttons that when clicked will transition in 4 “products” of a similar color.
Inconsistent. With only a few shapes some of the transition pop in an out. At times the transitions will “stick” before they complete their animations. Even at this very basic level the Tween Class is Shaky at best.
Not bad. Everything is where I expect it to be. Although I’m still a little gun shy from the Tween Class, this appears to be doing everything I need it to. Not to mention installing Tween Lite in place of the Tween Class was really easy.
Okay now it was time to take Tween Lite to task a bit. To simulate a larger project I increased the number of “products” to 200 per each button click. Although the transition selected may not be appropriate for that amount of products it worked like a champ. Meanwhile the Tween Class couldn’t get more than a few products to animate.
Don’t take my work for it see it for yourself.
It’s super easy. Just download the Tween Lite framework, import it, and start using it.
Very comparable. My favorite thing is you can add an event listener right in the decoration.
Now that’s really easy to use. There are sorts of other great features. Make sure to read the documentation. Greensock did a great job on putting it together.
So if are looking to up your game with programmed transitions or animation, I would check out Tween Lite. It may save you a big head ache in the long run.
Just in case you want to poke around and create your own benchmarks I’ve provided my source code for this basic interface.
tweening-benchmark
Today’s Agenda for working in Flash.