# Drawing API on movie clip

**URL:** https://forum.kirupa.com/t/drawing-api-on-movie-clip/884
**Category:** flash
**Created:** [August 1, 2002, 2:25pm UTC](https://forum.kirupa.com/t/drawing-api-on-movie-clip/884 "2002-08-01T14:25:06Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![FaTaL](https://avatars.discourse-cdn.com/v4/letter/f/848f3c/32.png) [@FaTaL](https://forum.kirupa.com/u/FaTaL)
#### Post date: [August 1, 2002, 2:25pm UTC](https://forum.kirupa.com/t/drawing-api-on-movie-clip/884/1 "2002-08-01T14:25:06Z")

</div>

Im a total newbie to flash and flash MX, I looked at the tutorial on this site for the drawying board in Flash MX ([http://www.kirupa.com/developer/actionscript/drawingboard.asp](http://www.kirupa.com/developer/actionscript/drawingboard.asp))

Well, it works fine, but, lets say if i Create a new Movie Clip Symbol and put the code on the first frame of that movie clip, and then drag the movie clip onto the MAIN scene…when I do that, nothing happens.

The reason im doing this is b/c I only want it to draw in a certain section, like a small square, and with the original code it draws on the whole screen.

Thanks 🙂

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [August 1, 2002, 3:24pm UTC](https://forum.kirupa.com/t/drawing-api-on-movie-clip/884/2 "2002-08-01T15:24:51Z")

</div>

you could set bounds for the drawing [which i don’t know how to do] or you could save your drawing movie and insert it as a movieclip into another flash movie. so you would insert it with a mask over it and format it into your interface and then viola you have your drawing interface that can only be drawn on in a certain area.

hope this helps

if you require more specific assistance … maybe post your source 🙂

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [August 1, 2002, 3:35pm UTC](https://forum.kirupa.com/t/drawing-api-on-movie-clip/884/3 "2002-08-01T15:35:32Z")

</div>

well the code is same as [http://www.kirupa.com/developer/actionscript/drawingboard.asp](http://www.kirupa.com/developer/actionscript/drawingboard.asp))

just wondering how to do it in a seperate

donest doing it in a seperate movie limit it to the space it can draw on?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [August 1, 2002, 3:45pm UTC](https://forum.kirupa.com/t/drawing-api-on-movie-clip/884/4 "2002-08-01T15:45:38Z")

</div>

Restraining the mouse is difficult. Hide the strokes is easier. With a mask, for instance, on top of everything.

pom :asian:
