Dynamic Movieclip Color

Hi,

I was wondering if anyone has an idea how to change the bg_color of a movie clip dynamically through a xml file.

I can pull the information needed just fine but I can not get setRGB to recognize a variable name.

ie: newColor = new Color(bg_mc);
newColor.setRGB(bg_color);
bg_color = 0x102892;

does not do the trick

any help would be appreciated

Thanks,
saveth

—I’m a idiot and had a temporary brain fart.—
sorry for the wasted post