# Controling mc

**URL:** https://forum.kirupa.com/t/controling-mc/18977
**Category:** flash
**Created:** [April 23, 2003, 4:42am UTC](https://forum.kirupa.com/t/controling-mc/18977 "2003-04-23T04:42:04Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![felipegm](https://avatars.discourse-cdn.com/v4/letter/f/e9bcb4/32.png) [@felipegm](https://forum.kirupa.com/u/felipegm)
#### Post date: [April 23, 2003, 4:42am UTC](https://forum.kirupa.com/t/controling-mc/18977/1 "2003-04-23T04:42:04Z")

</div>

First of all, thanks for all the help.  
U´ve being great!

My q is…

How do I make a button to control a mc to start playing?

thanks

---

<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: [April 23, 2003, 4:52am UTC](https://forum.kirupa.com/t/controling-mc/18977/2 "2003-04-23T04:52:13Z")

</div>

in the buttons actionscipt use:

[AS]  
on(release) {  
\_root.movieclip.play();\assuming that the movieclip is located on the main timeline of the movie.  
}[/AS]

[where “movieclip” is the instance name of the movie you want to play]

---

<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: [April 23, 2003, 4:53am UTC](https://forum.kirupa.com/t/controling-mc/18977/3 "2003-04-23T04:53:26Z")

</div>

give your MC an instance name and then use this code on the button

on (release) {  
MCinstancename.gotoAndPlay (2);  
}

---

<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: [April 23, 2003, 4:54am UTC](https://forum.kirupa.com/t/controling-mc/18977/4 "2003-04-23T04:54:02Z")

</div>

yeah, what he said… hahahha 😉
