when trying to go to a specific frame... you have two very basic options...

using quotes you can call the actual frame label. that can be manually set in the properties box... or without quotes, simply place the number of the frame between the parenthesis ..

stop();
gotoAndPlay("FrameLabel");

stop();
gotoAndPlay(1);