gotoAndPlay

Has anyone ever had a problem where the gotoAndPlay() function does not work. For some reason I have call to gotoAndPlay(2) but instead of playing it is stopping and no I do not have anything else telling it to stop playing at that frame.