Detecting _root frame number

could anybody tell me how to stop a movieclip if the current frame of the main stage has reached a particular frame number.

thanks in advance for any replies.

sifu