# When button is pressed it goes to specific frame

**URL:** <https://forum.kirupa.com/t/when-button-is-pressed-it-goes-to-specific-frame/301515>\
**Category:** Uncategorized\
**Created:** [December 10, 2009, 2:32pm UTC](https://forum.kirupa.com/t/when-button-is-pressed-it-goes-to-specific-frame/301515 "2009-12-10T14:32:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![p\_ziity](https://avatars.discourse-cdn.com/v4/letter/p/a9a28c/32.png) [@p\_ziity](https://forum.kirupa.com/u/p_ziity)\
**Post date:** [December 10, 2009, 2:32pm UTC](https://forum.kirupa.com/t/when-button-is-pressed-it-goes-to-specific-frame/301515/1 "2009-12-10T14:32:21Z")

</div>

So I have 13 buttons and each of these load the same movieclip. Now how do I make an if statement so that depending on what button is pressed it goes to a specific frame in this loaded movieclip?
