# Filling Shape using Actionscript

**URL:** <https://forum.kirupa.com/t/filling-shape-using-actionscript/199313>\
**Category:** flash\
**Created:** [September 1, 2006, 11:47am UTC](https://forum.kirupa.com/t/filling-shape-using-actionscript/199313 "2006-09-01T11:47:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![thesleuth](https://avatars.discourse-cdn.com/v4/letter/t/e99b99/32.png) [@thesleuth](https://forum.kirupa.com/u/thesleuth)\
**Post date:** [September 1, 2006, 11:47am UTC](https://forum.kirupa.com/t/filling-shape-using-actionscript/199313/1 "2006-09-01T11:47:23Z")

</div>

How do I fill a shape with actionscript? I believe I have to put it in a movieclip. What code do I use? And also, how do I give my document the background color using actionscript?
