(CS3 AS2)
I'm using this code to change the colour of my movieclips:
Ear 1 & 2 are always the same colour so it seems a little silly doing everything twice. Is there a way to combine the 2 variables? Like...Code:onEnterFrame = function () { c1Ear1.setRGB(_root.skinC); c1Ear2.setRGB(_root.skinC); }; var c1Ear1 = new Color(ears.ear1.c1); var c1Ear2 = new Color(ears.ear2.c1);
Code:onEnterFrame = function () { c1Ears.setRGB(_root.skinC); }; var c1Ears = new Color(ears.ear1.c1)(ears.ear2.c1);