Hi, I have the following code:

clrNew = 0xFFFF00;

clr = new color("/W45");
clr.setRGB(Number(clrNew));

When I load the SWF, the color of the W45 clip turns to blue - but when I use Javascript SetVariable to change clrNew to red it doesn't change the clip. I can get it to do it using a button to trigger the setRGB again, but how do I get it to keep updating the color?

Thanks,

Rob.