# Drawing board

**URL:** <https://forum.kirupa.com/t/drawing-board/243911>\
**Category:** Uncategorized\
**Created:** [November 12, 2007, 3:39pm UTC](https://forum.kirupa.com/t/drawing-board/243911 "2007-11-12T15:39:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sketchie](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@sketchie](https://forum.kirupa.com/u/sketchie)\
**Post date:** [November 12, 2007, 3:39pm UTC](https://forum.kirupa.com/t/drawing-board/243911/1 "2007-11-12T15:39:39Z")

</div>

Hi all,

I’m in a bit of a bind concerning the tutorial **drawing board** on [Kirupa.com](http://Kirupa.com).  
I’ve implemented it in my .fla and it works like a charm, only it won’t disable.

Why I want the drawing thingy to disable is this; I’m making a kids page where kids can click on a couple of European countries. When they click on Spain, the option Draw appears and it works. If they click on the back button, all the lines drawn disappear, just like the erase button shown in the tutorial.

When clicked on France a quiz appears with a scrollbar. If the user starts to scroll, a line is drawn; I don’t want the draw function to execute here or anywhere else, other then inside Spain.

How can I use actionscript to disable the draw function anywhere, except inside Spain?
