Button question

I have a question with buttons… I am using this code:
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
} else {

to rewind and play a movieclip depending on if the mouse is over the button. The only problem is I want it so when you release the botton (onRelease), then The button changes color (until another button is chosen, in which case that button changes color and the origignal button changes back). How do I make it so when onRelease the button GotoAndPlays another frame? Any suggestions? Thanks.