"unClear()"?

Today I began using ActionScript to make mathematical/ randomized designs. Things are going surprisingly well, but I can’t seem to figure out how to continue drawing once I have cleared a movie clip, or how to stop/pause the drawing for that matter (since it is accomplished in frame-by-frame steps). Here is what I have so far…

_root.createEmptyMovieClip (“mc_theline”, 1);
//some code
onEnterFrame = function(){
with (mc_theline){
//lots and lots of code
if (Key.getAscii() == 99)
{
clear();
gotoAndPlay(1);
}
else if (Key.getAscii() == 112)
{
stop();
}
}

If the user presses ‘c’ (ASCII 99), I would like the lines to clear, then return back to the starting frame. If the user presses ‘p’ (ASCII 112), I would like the drawing to stop, then begin where it left off when the user presses ‘p’ again…I realize this would require more code to determine whether video is stopped or playing, but I can handle that after I understand why the stop() isn’t working. Hopefully there is an easy solution to this dilemma, and the way I set this whole thing up isn’t problematic. Thanks for any help. 8^)