# gotoAndPlay(previous?)?

**URL:** <https://forum.kirupa.com/t/gotoandplay-previous/148329>\
**Category:** Uncategorized\
**Created:** [May 18, 2005, 11:39pm UTC](https://forum.kirupa.com/t/gotoandplay-previous/148329 "2005-05-18T23:39:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![unchew](https://avatars.discourse-cdn.com/v4/letter/u/7ba0ec/32.png) [@unchew](https://forum.kirupa.com/u/unchew)\
**Post date:** [May 18, 2005, 11:39pm UTC](https://forum.kirupa.com/t/gotoandplay-previous/148329/1 "2005-05-18T23:39:46Z")

</div>

I have abutton that makes a movieclip in the main timeline go to the prevous frame… but it doeasn’t work. Here is the code please help.

on(release){  
\_root.pregunticas.gotoAndStop(prevFrame);  
}

It shows no errors in the output panel… so please help.

Ty
