# \_currentFrame+1 issue

**URL:** https://forum.kirupa.com/t/-currentframe-1-issue/214972
**Category:** flash
**Created:** [February 2, 2007, 2:58pm UTC](https://forum.kirupa.com/t/-currentframe-1-issue/214972 "2007-02-02T14:58:19Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Navarone](https://avatars.discourse-cdn.com/v4/letter/n/f9ae1b/32.png) [@Navarone](https://forum.kirupa.com/u/Navarone)
#### Post date: [February 2, 2007, 2:58pm UTC](https://forum.kirupa.com/t/-currentframe-1-issue/214972/1 "2007-02-02T14:58:19Z")

</div>

If you stop the playhead in a tween using the stop() command and then use \_root.gotoAndPlay(\_root.\_currentFrame+1) should the playhead move to the next frame in the tween and continue playing? With my code I see the playhead jumping backwards. Why is it doing this and how can I correct it?

```auto

pp_btn.onRelease = function() {
 var isPlaying = this.label;
 if (isPlaying == "PAUSE") {
  trace(_root._currentframe);
  myMusicPosition = _root.bgSound.position/1000;
  myVoicePosition = _root.VSound.position/1000;
  _root.VSound.stop();
  _root.bgSound.stop();
  this.label = "PLAY";
  stop();
 }
 if (isPlaying == "PLAY") {
  //play();
  _root.VSound.start(myVoicePosition, 0);
  _root.bgSound.start(myMusicPosition, 0);
  this.label = "PAUSE";  
  _root.gotoAndPlay(_root._currentFrame+1);
 }
};

```
