Sketchpad Tutorial Question Pls Help :(

createEmptyMovieClip(“Line”,1);
Line.lineStyle(2,0x000000,100);

onMouseDown = function (){
Line.moveTo(_xmouse, _ymouse);
onMouseMove = function (){
Line.lineTo(_xmouse, _ymouse);}
}
onMouseUp=function(){
onMouseMove=null;
}

How do we use this code on a movieclip (limited space for sketching) created by us ?

If i’m not mistaken the onMouseMove = null function for the code below is not correct …please help!!

onClipEvent (load) {
lineStyle(2,0x000000,100);
}
onClipEvent (mouseDown) {
moveTo(_xmouse, _ymouse);
}

onClipEvent (mouseMove) {
lineTo(_xmouse, _ymouse);
}

onClipEvent (mouseUp) {
onMouseMove=null;
}