# Change Frame on Main Timeline from Within An MC

**URL:** <https://forum.kirupa.com/t/change-frame-on-main-timeline-from-within-an-mc/302980>\
**Category:** programming\
**Created:** [January 11, 2010, 11:36pm UTC](https://forum.kirupa.com/t/change-frame-on-main-timeline-from-within-an-mc/302980 "2010-01-11T23:36:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![flyingmonkey456](https://avatars.discourse-cdn.com/v4/letter/f/e47774/32.png) [@flyingmonkey456](https://forum.kirupa.com/u/flyingmonkey456)\
**Post date:** [January 11, 2010, 11:36pm UTC](https://forum.kirupa.com/t/change-frame-on-main-timeline-from-within-an-mc/302980/1 "2010-01-11T23:36:40Z")

</div>

I’m tying to make the frame change to the previous or next one when a person clicks on an arrow. I can’t figure out how to make the frame change, though. I’ve tried \_global.gotoAndStop() and setting \_global.\_currentframe, neither of them worked. Does anybody know how to do this?
