Changing object color with AS

hi I am trying to make a smooth color transition using AS2

the way I have now the mc changes colors just fine, but not smooth like when you use tween. I know there is a ‘get Transform’ function but I don’t know how to apply maybe someone has an example??


function changeBG(col) {
	var c = new Color(_root.bg);
	c.setRGB(col);
}
changeBG(0xCC3366);