# Help linking buttons to movie clips

**URL:** https://forum.kirupa.com/t/help-linking-buttons-to-movie-clips/153784
**Category:** Uncategorized
**Created:** [July 4, 2005, 5:49pm UTC](https://forum.kirupa.com/t/help-linking-buttons-to-movie-clips/153784 "2005-07-04T17:49:30Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![tpspoons](https://avatars.discourse-cdn.com/v4/letter/t/b4bc9f/32.png) [@tpspoons](https://forum.kirupa.com/u/tpspoons)
#### Post date: [July 4, 2005, 5:49pm UTC](https://forum.kirupa.com/t/help-linking-buttons-to-movie-clips/153784/1 "2005-07-04T17:49:30Z")

</div>

hi.  
I am making a full flash site for a friend of mine, but I encountered a problem whilst doing so. My problem is telling a button to go off and play a frame within a mc. I couldn’t work out how, so I tried to say on the first button:

on(press){  
this.hello = 1;  
}

and then withing the mc:

if(\_root.hello ==1){  
gotoAndStop(1);  
}

and so on withing the rest of the buttons. But this didn’t work. I have attached a fla of a duplicate of what I am trying to do (I want to keep the actual site fla I am making hidden for obvious reasons).

Please help.  
Thanks.
