Just wondering if anyone has worked out a way of tweening a movieclips colour by using actionscript to control the tint value. I want for example to make an object go from blue to green over a number of frames however might then want to make it red or yellow so don't want to do this using timeline based animation.
What I need to do is for example have a button with red on it and then a button with green on it. When you press the red one the movie clip tweens from iits current value to red. Then if you were to press the green one it would tween from its current value to green.
I guess you can define the colour array when releasing a button but is there a way of stopping the function from looping through the colours and instead just perform ing one transformation?