Button Colour Change


Using the code below, I am able to change the colour of a movie clip simply by putting my mouse over a button and allowing the action script to do all the work.

btn.onRollover = function() {
my_color = new Color(colourbox);
btn.onRollout = function() {
my_color = new Color(colourbox);

Is it possible to make the colours blend into eachother, creating a smooth transtion purly using action script?

In the past i have seen people use the command “decay” to tell the movie to animate somthing. I think a similar approach is needed to make the colours blend using actionscript.

Its easy to animate this, but im hoping some coding can be of more assistance.

I have attatched a test file that I have been using. Feel free to download it.

Thanks in advance


Lamborghini estoque