I have an object that I am doing a colorTransform on. The object has 3 frames and one object on another layer that does the color, so it's something like this:

-color
-colormask
-object

I have buttons that change the color of the color layer, and buttons that change the frame of the object, both of which work fine. However, when I change the color, if I then change the frame, the color resets and won't carry over frames... sorry if that's a bit confusing.

How can I get the color to stay changed over multiple frames? Here's the code for color changing and frame changing.

Code:
//White
function Dre_colourFFFFFF(event:MouseEvent):void {
changeColor(Dre1.Dre1_Col, 0xFFFFFF);
}
Palette_Dre.But_Dre_FFFFFF.addEventListener(MouseEvent.CLICK, Dre_colourFFFFFF);

Code:
function DreChange1(event:MouseEvent):void
{
Dre1.gotoAndStop(1)
}
Frame_But.Dre1_But1.addEventListener(MouseEvent.CLICK, DreChange1);