# Drawing board help

**URL:** <https://forum.kirupa.com/t/drawing-board-help/156488>\
**Category:** Uncategorized\
**Created:** [July 26, 2005, 5:46am UTC](https://forum.kirupa.com/t/drawing-board-help/156488 "2005-07-26T05:46:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kickapk](https://avatars.discourse-cdn.com/v4/letter/k/47e85d/32.png) [@kickapk](https://forum.kirupa.com/u/kickapk)\
**Post date:** [July 26, 2005, 5:46am UTC](https://forum.kirupa.com/t/drawing-board-help/156488/1 "2005-07-26T05:46:22Z")

</div>

im using this simple code for my drawing board on flash mx 2004.

stop();  
\_root.createEmptyMovieClip(“line”,1);  
\_root.onMouseDown = function(){  
line.moveTo(\_xmouse,\_ymouse);  
line.lineStyle(5,000000,100);  
this.onMouseMove = function(){  
line.lineTo(\_xmouse,\_ymouse);  
updateAfterEvent();  
}  
}  
this.onMouseUp = function(){  
this.onMouseMove= null();  
}

I want it to only work on one frame but when u go to another frame you can still draw. ill post my flash that i am making so u will understand(USE PAINT FIRST).

[http://www.putfile.com/media.php?n=gatesv111](http://www.putfile.com/media.php?n=gatesv111)

please help and thx:)

im also a begginer to flash and actionscript so my game/interactivity isnt the greatest
