# \[URGENT\] on click Jump forward x frames

**URL:** <https://forum.kirupa.com/t/urgent-on-click-jump-forward-x-frames/181662>\
**Category:** flash\
**Created:** [March 11, 2006, 4:48pm UTC](https://forum.kirupa.com/t/urgent-on-click-jump-forward-x-frames/181662 "2006-03-11T16:48:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Emdiesse](https://avatars.discourse-cdn.com/v4/letter/e/c0e974/32.png) [@Emdiesse](https://forum.kirupa.com/u/Emdiesse)\
**Post date:** [March 11, 2006, 4:48pm UTC](https://forum.kirupa.com/t/urgent-on-click-jump-forward-x-frames/181662/1 "2006-03-11T16:48:50Z")

</div>

I would like to make a button that will go fowrards x amount of frames where x = the value of an input textbox.

How do I do this?

I have an input text box with the instance name jumpvalue should it be the Var value instead?  
The button I have is btnForwards.

Please help, thanks

I’m guessing it will be along the lines of (note not actual action script, i havent a clue how find out the current frame):

```auto

on (release) {
    gotoAndStop(CurrentFrame + jumpvalue);
}

```
