Smooth transition between random colors

how can I make a smooth transition between random colors?
so far I have this done:

this is on the frame action:

myColor= new Color (_root.box);
_root.b1.onRelease = function(){
myColor.setRGB(_global.rndColor)
}

and this is in a movie clip which is off stage, generating a random
value:

onClipEvent (enterFrame) {
_global.rndColor=Math.round(Math.random()*0xffffff);

}

There is a nice one in the tutorials, but I’m not able to use it for some reason. Maybe because it is not for MX 2004.

can anybody help?