Shawnblais.com v2

The Lab

ColorTween class

without comments

Here’s a very handy utility class to tween the tint of a MovieClip. It works by creating 2 color transform objects (based on a start and end color) and interpolates the colors in between. This uses GTween to handle the tweening of a dummy property, while the color is updated on the CHANGE event handler.

Click here to read more…

Written by Shawn

August 19th, 2009 at 12:04 pm

Posted in AS3

Leave a Reply

Spam Protection by WP-SpamFree