Moving from Movieclips

Hey, I’m trying to make a scene in a game fade out by have a movieclip. I have the movieclip and want to put inside the movieclip timeline some actionscript to go to the next frame but the simple

gotoAndStop(“frame2”)

doesn’t work.

Is it possible to do this? If so how?