# Flash 8 and the Drawing API

**URL:** <https://forum.kirupa.com/t/flash-8-and-the-drawing-api/217772>\
**Category:** flash\
**Created:** [March 1, 2007, 7:46pm UTC](https://forum.kirupa.com/t/flash-8-and-the-drawing-api/217772 "2007-03-01T19:46:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Keyston](https://avatars.discourse-cdn.com/v4/letter/k/d9b06d/32.png) [@Keyston](https://forum.kirupa.com/u/Keyston)\
**Post date:** [March 1, 2007, 7:46pm UTC](https://forum.kirupa.com/t/flash-8-and-the-drawing-api/217772/1 "2007-03-01T19:46:14Z")

</div>

I’m in the process in making a little drawing board using flash Drawing API. Right now i have the lines drawn by using lineTo() but i was wondering if there is a way to erase portions of the line. I know i could just write over it with white but was thinking of a better way. maybe by change the alpha or using a mask something like that. Just wanted to know if anyone came across this before or have a theory that can give me some insight to solve this problem… thanks
