Jumping to next frame after video is complete

I have a video (that im calling from my harddrive) that i would love to play once through, then jump onto the next frame (where theres another video that continues from the end of the first). Why can i not use the following code to jump?

on(complete){
gotoAndStop(5);
}

Am I being stupid? Does anyone have any idea of how to jump to the next frame automatically, and quickly?

Dan