# AS2 problem with goto previous frame

**URL:** <https://forum.kirupa.com/t/as2-problem-with-goto-previous-frame/280156>\
**Category:** flash\
**Created:** [January 23, 2009, 2:59pm UTC](https://forum.kirupa.com/t/as2-problem-with-goto-previous-frame/280156 "2009-01-23T14:59:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tris3d](https://avatars.discourse-cdn.com/v4/letter/t/4da419/32.png) [@tris3d](https://forum.kirupa.com/u/tris3d)\
**Post date:** [January 23, 2009, 2:59pm UTC](https://forum.kirupa.com/t/as2-problem-with-goto-previous-frame/280156/1 "2009-01-23T14:59:24Z")

</div>

Hello, I’m using a simple piece of code on a button…

on(press){  
\_level0.prevFrame();  
}

… to go to previous frame but for some reason it causes the main movie clip to flicker. Is this a known problem or am I doing something wrong? Many thanks.
