Working in AS2 here trying to make a simple function to change the color of an object passed to it. I'm not getting a complier error but it's not working either.

PHP Code:
import flash.geom.ColorTransform;

function 
color_change(colormc) {
    var 
colorTrans = new ColorTransform();
    
colorTrans.rgb color;
    
mc.colorTransform colorTrans;

I'm using the function call below:
PHP Code:
change_color(0xFFFF00_root.stabar); 
Thanks for the help.