Goto and play frame problem

I have a basic flash application with about 500 frames in this scene. I want to go play this frame when the user selects a button. I have the following code but it seems to go back to the first frame each time whereas I want it to go to frame 460. The statement above works by continuing the movie though.

if (finalresult <8) {
} else if (finalresult >= 8) {

Any ideas?