# Flash mx and line art

**URL:** <https://forum.kirupa.com/t/flash-mx-and-line-art/11452>\
**Category:** Uncategorized\
**Created:** [January 17, 2003, 9:13am UTC](https://forum.kirupa.com/t/flash-mx-and-line-art/11452 "2003-01-17T09:13:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimw00d](https://avatars.discourse-cdn.com/v4/letter/j/46a35a/32.png) [@jimw00d](https://forum.kirupa.com/u/jimw00d)\
**Post date:** [January 17, 2003, 9:13am UTC](https://forum.kirupa.com/t/flash-mx-and-line-art/11452/1 "2003-01-17T09:13:23Z")

</div>

I am experimenting, albeit on a very basic level with line art, using the moveTo and lineTo commands. I have produced a fla for you all to see.

The problem I am having is that on four or five keyframes I have redrawn the lines to produce the desired effect. However I can’t seem to remove the lines from each previous key frame. Result: All the lines I have drawn appear rather than only the lines related to the keyframe.

Also I am sure there is an easier way of accomplishing this effect. I guess I am prompting a discussion of when tweening is appropriate. I am trying to use Actionscript for everything in flash, is this wrong?

Any ideas on any of the above would be great

cheers

---

<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:** [January 17, 2003, 6:00pm UTC](https://forum.kirupa.com/t/flash-mx-and-line-art/11452/2 "2003-01-17T18:00:57Z")

</div>

the clear() command will erase all previously drawn imagery on the screen. Just put it before all your other commands on each frame.
