Tweener AS3 extension for color properties “_brightness”, “_contrast” and “_saturation”

Jens Krause beat me to the punch. I had brightness added to Tweener AS3 and was adding contrast and saturation as needed on projects but it has already been done!

WS-Blog has added in special properties for Tweener for brightness, contrast and saturation which was the only part missing from the public version of Tweener. I am not sure of the file size with this addition (Tweener is around 9kb) but it is probably the same size with this in as brightness in my updated copy was the same. Adding special properties in Tweener is quite simple and not enormous amounts of script needed and when compressed in the swf it is very small.

There are other kits like TweenerFilterLite, Animation Package etc that do these right now but you have to wait no longer for these functions in Tweener itself which has quickly become many flash developers favorite in AS3 and since it is compatible with AS2 in the same syntax it makes animation in flash and the learning curve for that from AS2 to AS3 non existent for motion.

Jens has a sample demo, script samples and source on his blog.

  • http://onedayitwillmake.com mario gonzalez

    Awesome! I had added a brightness tween into it for a project i was working on. I’ll use this version instead, since i crammed my function into the main document class.

  • http://thelaborat.org Eduardo

    Yo!
    I’m developing a new Tweener Class (working name :) ) with support to
    _brightness
    _contrast
    _saturation
    _hue
    _grayscale -> (0 is colored image and 100 is full-grayscale)
    Take a look in the demos on
    http://thelaborat.org
    By the way! Nice Blog when I need some flash help your is one of my favourite to search good information!!

    Thanxs!!

  • http://drawk.wordpress.com/ drawk

    Hey Eduardo, I checked it out. Pretty nice! It might get confusing with two “Tweener” names but it looks like you have added in some nice features. I am digging the different types of easing and always a fan of pathfinding. We’ll watch your progress on it interested.

  • http://www.forml.com Paul

    those snapshots link rollover popups craps are VERY annoying. Great blog other than that…

  • http://drawk.wordpress.com/ drawk

    snaps g-gone. They started out small and user friendly from snap.com but grew monsterous.