Using variables with transform.colorTransform

I have declared a handful of new colors like this:
var colTransNameNumber:ColorTransform = new ColorTransform();
colTransNameNumber.color = 0x77060A;

The name and number are coming from variables in the query string but when I try to call the colors by doing “colTrans” + name + num, I get the Type Coercion failed: cannot convert “colTransDEM40” to flash.geom.ColorTransform. error. Does anyone know how to create this in the correct format?

thanks.