[URGENT] on click Jump forward x frames

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):


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