# Button -\> Play Clip

**URL:** <https://forum.kirupa.com/t/button-play-clip/24057>\
**Category:** flash\
**Created:** [June 25, 2003, 7:16pm UTC](https://forum.kirupa.com/t/button-play-clip/24057 "2003-06-25T19:16:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![LimiT](https://avatars.discourse-cdn.com/v4/letter/l/3bc359/32.png) [@LimiT](https://forum.kirupa.com/u/LimiT)\
**Post date:** [June 25, 2003, 7:16pm UTC](https://forum.kirupa.com/t/button-play-clip/24057/1 "2003-06-25T19:16:07Z")

</div>

I’m trying to build an intro page to a website I’m working on, and I need to have a button, when pressed, play a movie clip. I’m thinking it’s something to do with loading the movie clip into another movie clip when the button is pressed, but it doesn’t seem to work. Any ideas?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 25, 2003, 7:29pm UTC](https://forum.kirupa.com/t/button-play-clip/24057/2 "2003-06-25T19:29:15Z")

</div>

Is the movieclip you’re trying to play on stage alread? If it is then all you need to do is apply this to the button.

```auto
on (release){
	_root.myMC.play();
}

```

myMC would be the instance name for that movieclip you’re trying to play after the button is pressed.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 25, 2003, 7:34pm UTC](https://forum.kirupa.com/t/button-play-clip/24057/3 "2003-06-25T19:34:19Z")

</div>

That’s what I was thinking. But I need a clip to play when the .swf loads, and I need another one to play when the button is pressed. (A box fades in when the .swf loads, when you click the button, the boxe fade out).

So how can I get the animation to play when the .swf loads?
