# Convert lines to fills with AS

**URL:** <https://forum.kirupa.com/t/convert-lines-to-fills-with-as/134559>\
**Category:** Uncategorized\
**Created:** [January 19, 2005, 2:07pm UTC](https://forum.kirupa.com/t/convert-lines-to-fills-with-as/134559 "2005-01-19T14:07:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![legeza](https://avatars.discourse-cdn.com/v4/letter/l/9de0a6/32.png) [@legeza](https://forum.kirupa.com/u/legeza)\
**Post date:** [January 19, 2005, 2:07pm UTC](https://forum.kirupa.com/t/convert-lines-to-fills-with-as/134559/1 "2005-01-19T14:07:34Z")

</div>

Hello guys,

I’m making simple graphic editor, which allows user to draw a shape (with MovieClip.lineTo() method) and after that use this shape as a mask for another movie clip. Is it possible to convert my ‘lined’ shape to fill (but not just filling it with MovieClip.beginFill() and MovieClip.endFill() methods)?

I would highly appreciate your help. Thanks!
