# Filling a custom shape

**URL:** <https://forum.kirupa.com/t/filling-a-custom-shape/312321>\
**Category:** Uncategorized\
**Created:** [July 30, 2010, 2:55pm UTC](https://forum.kirupa.com/t/filling-a-custom-shape/312321 "2010-07-30T14:55:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ineedsleep](https://avatars.discourse-cdn.com/v4/letter/i/e5b9ba/32.png) [@Ineedsleep](https://forum.kirupa.com/u/Ineedsleep)\
**Post date:** [July 30, 2010, 2:55pm UTC](https://forum.kirupa.com/t/filling-a-custom-shape/312321/1 "2010-07-30T14:55:29Z")

</div>

Hi,

I have made an app that draws shapes using the lineTo method to create a pen like effect. I then want this shape to be filled like the bucket tool in photoshop/flash. I tried to use beginFill but it doesnt seem to work.

Does anyone know of a good tutorial to do such a thing?

Thanks
