# Goto Help

**URL:** <https://forum.kirupa.com/t/goto-help/122548>\
**Category:** Uncategorized\
**Created:** [September 14, 2004, 6:35pm UTC](https://forum.kirupa.com/t/goto-help/122548 "2004-09-14T18:35:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![petro](https://avatars.discourse-cdn.com/v4/letter/p/50afbb/32.png) [@petro](https://forum.kirupa.com/u/petro)\
**Post date:** [September 14, 2004, 6:35pm UTC](https://forum.kirupa.com/t/goto-help/122548/1 "2004-09-14T18:35:58Z")

</div>

I need some basic help…just started using Flash…so I have the following code as an actionscript attached to a button that has a slider like the one in the tutorials…problem is how do I make the onPress goto a different frame in my scene??

button\_1.onPress = [color=red]function()[/color] {  
xMove = button\_1.\_y;  
};

Any help would be appreciated.

THX
