# Small issue with buttons controlling movie clips

**URL:** <https://forum.kirupa.com/t/small-issue-with-buttons-controlling-movie-clips/275238>\
**Category:** flash\
**Created:** [November 11, 2008, 4:36pm UTC](https://forum.kirupa.com/t/small-issue-with-buttons-controlling-movie-clips/275238 "2008-11-11T16:36:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dominick](https://avatars.discourse-cdn.com/v4/letter/d/5fc32e/32.png) [@Dominick](https://forum.kirupa.com/u/Dominick)\
**Post date:** [November 11, 2008, 4:36pm UTC](https://forum.kirupa.com/t/small-issue-with-buttons-controlling-movie-clips/275238/1 "2008-11-11T16:36:58Z")

</div>

I am trying to create a couple buttons that when clicked will start the movie attached to them, but I am having some trouble. If I had two buttons each playing a different movie when clicked how could set it up so that if you click button 1 then right after clicked button 2 both clips would not play at the same time. Also if you clicked button 1 over and over it would only play that clip once till you selected another button and played that movie. Any help is much appreciated

This is currently all that I am using to control the clips

Button 1:

```auto
on (release) {
    device_mc.gotoAndPlay(2);
}

```

Button 2:

```auto
on (release) {
    cover_mc.gotoAndPlay(2);
}

```
