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?
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);
}
};