jump to navigation

AS3 TweenFilterLite for tweening filters, and it’s free August 26, 2008

Posted by Mark in Useful Tools.
Tags: , , ,
trackback

I was working on a project today where all of the menu items, content, and pretty much everything else is created dynamically. I wanted to apply some filters as some rollover effects. After playing around with Flash’s built in Animator class and not getting the results I wanted, I hit up google. Eventually I found this site: http://blog.greensock.com/tweenfilterliteas3/ a guy named Jack made this, and it’s simply wonderful. What it allows you to do is apply a filter to a display object over time, and it will tween gradually. It’s also very fast. If you’re looking for a way to add some great effects for rollovers or whatnot, I highly recommend checking this guy’s site out.

Comments»

1. Dustin Sparks - August 28, 2008

I would recommend Tweener over TweenFilterLite.

The reason I like Tweener better is that it uses the exact same syntax to tween any filter as it does any other property of any object.

It also works well with 3D in Papervision or anything else because of the way it works naturally.

You can find it here: http://code.google.com/p/tweener/

2. Mark - August 28, 2008

You’re right, it is a little simpler to use, but TweenFilterLite is for filters and properties of display objects only. In my opinion a better comparison would be TweenMax or TweenLite versus Tweener. I haven’t used all of them enough to really say one way or the other which is the easiest to use, but TweenMax and TweenLite are both faster than Tweener. I believe speed takes precedence over ease of use. Here’s a link where you can compare the speeds of the major tweening engines:

http://blog.greensock.com/tweening-speed-test/