Home About Contact

Tiny and fast Tweening Platform for Flash Actionscript

Posted by phorner On April 20, 2009

greensock_logoTo be able to use Flash to it’s fullest, you need to be able to control animation (or tweening as it’s better known) from within Actionscript. There have been many solutions these last few years, with Tweener being the most well known and popular. Now comes a faster and smaller tweening platform: TweenLite. Written by Jack Doyle, this new tweening platform has taken everyone by surprise.

It comes in two different versions: TweenLite and TweenMax. The difference between the two is basically the level of functionality and the amount of features (TweenLite/Max features). TweenLite has less functionality and features, and therefore is smaller in file size (5k with default plugins). TweenLite is perfect for your more basic projects. TweenMax, has far more functionality and features, but the offset is the increased file size (14k with default plugins).

To keep file size small, TweenLite and TweenMax are broken up into plugins. Each plugin contains certain features like filter blurring, color transformation and bezier tweening to name a few. The great thing about using plugins is that you only include the plugins that you need to use for your project. This reduces your Flash file size and also helps speed up tweening.

TweenLite supports both AS2 and AS3. AS2 support is great for those who still need to work with Flash Player installs earlier than Flash Player 9, though obviously the speed is much slower. The AVM2 engine (AS3) is much more efficient in performance, and you can see this in the speed tests on Jack’s site.

Speaking of performance, Jack has also created a Speed Comparison which compares all the major Tweening Platforms against TweenLite. TweenLite is incredibly fast. You can see the Speed Comparison here.

The use of TweenLite is limited to projects and games that don’t charge end users money. You can also donate to help keep Jack in development of TweenLite. The amount you donate determines which plugins you can use in your projects as not all plugins come standard with TweenLite/Max.

Having read Jack’s blog recently, it seems that several Tweening Platforms (Twease and gTween) will be merging with TweenLite/Max. This is great news as TweenLite will benefit from the coorporation of the developers.

The latest stable version is Version 10, with Version 11 Beta in the works. Some of the new features from Version 11 Beta are:

  • the addition of the “TimelineLite” and “TimelineMax” classes. They make building and managing sequences/groups of tweens simple.
  • useFrames” feature.
  • a new “motionBlur” plugin that applies a realistic directional blur based on the velocity and angle of a DisplayObject’s x/y movement.
  • a new “dynamicProps” plugin that allows you to associate a function with a property so that every time the tween is updated, it calls that function to get the end value for the associated property.

Having used TweenLite, I can vouch for it’s speed and size. All the signs for this project look very promising and I look forward to seeing how it develops over the coming months. Great work Jack!

For more information: GreenSock Tweening Platform

  • Share/Bookmark

17 Responses to “Tiny and fast Tweening Platform for Flash Actionscript”

  1. doug says:

    interesting story, ill have to check it out! :)

  2. phorner says:

    haha funny man :)

  3. ocljlwijlmcds says:

    ocljlwijlmcds

  4. hydrolyze says:

    Thanks.. Yet an additional fantastic way of seeing things, undoubtedly the reason why my partner and I returned for your blog over and over again…

    SCOTT

  5. fun games says:

    This was awesome

  6. Your website keeps getting better and better! I’ve been following your posts for a while now and I have to say that your older posts don’t offer as much insight as the newer articles.You have a lot more ideas and style now! BTW, if you’re looking into placing some advertisements on your blog – you should really do it. Don’t go for all that 3rd party bs – Use a nice WordPress monetization tool coded by a friend of mine which by far the best, it’s a must have plugin for any serious blogger. You can find it at Thaidy.com/Top10WordPressPlugins and give it a free test-run (To make it easier for you, I linked my name to the site). Oh, and there is a nice discount coupon in the sidebar of the mainpage today.
    Keep up the good work mate!

  7. This is an awesome article, I will definitely be sure to add your site to my morning routine :)

  8. great post thanks ive bookmarked this for later use

  9. Thank you for taking the time to write about this issue. I truly appreciate it. I’ll post a link of this entry in my site.

  10. Really great post to hang on.. I’m very impressed with this post. Looking for more info.

  11. This is a great blog post. Thank you very much for the excellent information you shared! I was finding for this information for a long time, but I was not able to see a trusted site.

  12. Thank you for creating valuable information about the subject. I’m an admirer of your writing. Keep up the good work.

  13. Thanks for providing great information regarding the issue. I’m an admirer of your website. Keep up the great job.

  14. Lenen Zonder BKR Toetsing Lenen zonder BKR toetsing stijgt in populariteit op het Internet. Veel mensen met een zogeheten BKR notatie, die toch geld willen lenen zijn op zoek naar …

  15. and individuals brill one liners about the candle, gets far more romantic. if you even will need a second bedroom… LOLOLOL

  16. lenen says:

    BKR problemen? Nu Geld lenen zonder BKR toetsing? Op zoek naar betrouwbare aanbieders? Wij vergelijken banken die u toch kunnen helpen aan een betrouwbare

  17. lenen says:

    Lenen zonder BKR toetsing gaat vandaag heel gemakkelijk. Binnen een paar uur geld lenen zonder BKR toetsing doet u hier, lees snel verder

Leave a Reply