# \[FlashCS3-AS2.0\] Drawing Board problems and issues.... Help!

**URL:** <https://forum.kirupa.com/t/flashcs3-as2-0-drawing-board-problems-and-issues-help/249204>\
**Category:** Uncategorized\
**Created:** [January 16, 2008, 2:00pm UTC](https://forum.kirupa.com/t/flashcs3-as2-0-drawing-board-problems-and-issues-help/249204 "2008-01-16T14:00:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![p4rm4r](https://avatars.discourse-cdn.com/v4/letter/p/7ba0ec/32.png) [@p4rm4r](https://forum.kirupa.com/u/p4rm4r)\
**Post date:** [January 16, 2008, 2:00pm UTC](https://forum.kirupa.com/t/flashcs3-as2-0-drawing-board-problems-and-issues-help/249204/1 "2008-01-16T14:00:33Z")

</div>

**ACTIONSCRIPT 2.0:**

I have put a drawing board on my application, but i cannot figure  
out how to get a colour selector…? Any ideas on this?

Another problem with this, is that when the page is selected i can draw  
out of the board, and also when i navigate to another page i can  
continue to draw on other pages (not good!)…

Heres the script:

\*\*this.createEmptyMovieClip(“drawing\_mc”,this.getNextHighestDepth());

this.onMouseDown = function() {  
drawing\_mc.lineStyle(10,0x000000);  
drawing\_mc.moveTo(\_xmouse,\_ymouse);

onMouseMove = function() {  
drawing\_mc.lineTo(\_xmouse,\_ymouse);  
}  
}

this.onMouseUp = function() {  
onMouseMove = noLine;  
}\*\*
