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

**URL:** <https://forum.kirupa.com/t/button-question-not-your-usual-question-can-anyone-help-more-complicated/48971>\
**Category:** Uncategorized\
**Created:** [April 18, 2004, 8:31pm UTC](https://forum.kirupa.com/t/button-question-not-your-usual-question-can-anyone-help-more-complicated/48971 "2004-04-18T20:31:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![trevorsaint](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/trevorsaint/32/268_2.png) [@trevorsaint](https://forum.kirupa.com/u/trevorsaint)\
**Post date:** [April 18, 2004, 8:31pm UTC](https://forum.kirupa.com/t/button-question-not-your-usual-question-can-anyone-help-more-complicated/48971/1 "2004-04-18T20:31:20Z")

</div>

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;

```auto

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.
