# Stage question

**URL:** <https://forum.kirupa.com/t/stage-question/264505>\
**Category:** Uncategorized\
**Created:** [June 26, 2008, 6:24pm UTC](https://forum.kirupa.com/t/stage-question/264505 "2008-06-26T18:24:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![koolkrasher](https://avatars.discourse-cdn.com/v4/letter/k/c6cbf5/32.png) [@koolkrasher](https://forum.kirupa.com/u/koolkrasher)\
**Post date:** [June 26, 2008, 6:24pm UTC](https://forum.kirupa.com/t/stage-question/264505/1 "2008-06-26T18:24:20Z")

</div>

can the color of the stage be changed dynamicaly with out making a movie clip over it and using a color transfrom on that?

---

<div class="post-metadata">

**Author:** ![DiamondDog](https://avatars.discourse-cdn.com/v4/letter/d/74df32/32.png) [@DiamondDog](https://forum.kirupa.com/u/DiamondDog)\
**Post date:** [June 27, 2008, 5:44pm UTC](https://forum.kirupa.com/t/stage-question/264505/2 "2008-06-27T17:44:10Z")

</div>

I don’t think so.

Creating a sprite, and using the graphics class to draw a rectangle of the required colour is the simplest method I know. (Unless you want to use a library symbol.)

---

<div class="post-metadata">

**Author:** ![Felixz](https://avatars.discourse-cdn.com/v4/letter/f/ecb155/32.png) [@Felixz](https://forum.kirupa.com/u/Felixz)\
**Post date:** [June 27, 2008, 8:14pm UTC](https://forum.kirupa.com/t/stage-question/264505/3 "2008-06-27T20:14:00Z")

</div>

```auto
var shape:Shape=new Shape();
stage.addChildAt(shape,0);
resize(null);
stage.addEventListener(Event.RESIZE,resize);
function resize(event:Event):void {
   shape.graphics.clear();
   shape.graphics.beginFill(color);
   shape.graphics.drawRect(0,0,stage.stageWidth,stage.stageHeight);
   shape.graphics.endFill();
}

```
