Changing_Colors

This forum has been such a huge help - I appreciate everyone.

Here is an interesting question:

I have a “Closed Caption” button which is by default on or white,
I have used the following actionscript to togle the movie clip that contains the closed captioning on and off as the user clicks the button:

on (release) {
if (_level1.cc._visible == true) {
_level1.cc._visible = false;
} else if (_level1.cc._visible == false ) {
_level1.cc._visible = true;
}
}

My QUESTION is I need the button color to also change from its white (on condition) to its grey (off condition) as the user clicks it similiar to the above code.
I just cant get the coding right or not sure how to do that.

As always your help is greatly appreciated!!

on (release) {
if (_level1.cc._visible == true) {
_level1.cc._visible = false;
} else if (_level1.cc._visible == false ) {
_level1.cc._visible = true;
}
}
on (release) {
if (myColor = 0xFFFFFF) {
myColor = new Color(closed);
myColor.setRGB(0x999999);
} else if (myColor = 0x999999) {
myColor = new Color(closed);
myColor.setRGB(0xFFFFFF);
}
}

Here is my code: It toggles the Closed Captioning fine and will change the color from white to grey with the first click and stays grey.
After when clicked a second time the closed captioning toggles again but the button remains grey and will not return to the white color???