Button question - not your usual question, can anyone help (more complicated)!

Just a button question.

When you click a button, it usually activates a movie clip of some kind or another action.

What I am after in my button, is on click to play part of a movie clip, so it maybe reveals some text. But the trick is, on clicking the button again, I need it to play the movie back to its original state, so rather the button acting as an on or off switch, i.e;


on (release) {
	_root.main.coverOver.gotoAndPlay(2);
}

This script would play part of the movie which would reveal some text. I want to be able to click the same button a second time to maybe play frame (10).

Does anyone know how to achieve such an action.

Please please advise if you have the answer.

Kind Regards

Trevor Saint.