# Button functions

**URL:** <https://forum.kirupa.com/t/button-functions/258144>\
**Category:** flash\
**Created:** [April 21, 2008, 1:10pm UTC](https://forum.kirupa.com/t/button-functions/258144 "2008-04-21T13:10:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![theUmmGuy](https://avatars.discourse-cdn.com/v4/letter/t/82dd89/32.png) [@theUmmGuy](https://forum.kirupa.com/u/theUmmGuy)\
**Post date:** [April 21, 2008, 1:10pm UTC](https://forum.kirupa.com/t/button-functions/258144/1 "2008-04-21T13:10:06Z")

</div>

How can I direct a button in placed in one mc to play a marked keyframe in another mc.  
Heres what I’m tring to do, But this isn’t correct (maybe close?)

on (press) {  
gotoAndPlay(\_root.animMc, “go”);

}

Thank You.
