# The Z stack isn't working like expected

**URL:** <https://forum.kirupa.com/t/the-z-stack-isnt-working-like-expected/321494>\
**Category:** Uncategorized\
**Created:** [April 21, 2011, 4:13am UTC](https://forum.kirupa.com/t/the-z-stack-isnt-working-like-expected/321494 "2011-04-21T04:13:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![embarker](https://avatars.discourse-cdn.com/v4/letter/e/58956e/32.png) [@embarker](https://forum.kirupa.com/u/embarker)\
**Post date:** [April 21, 2011, 4:13am UTC](https://forum.kirupa.com/t/the-z-stack-isnt-working-like-expected/321494/1 "2011-04-21T04:13:43Z")

</div>

```auto
.addChild(actors[0]);                
.addChild(actors[1]);
.addChild(theGrid);

or if you like

.addChild(theGrid);
.addChild(actors[0]);
.addChild(actors[1]);

if makes no difference what order you add the children in.

```

The grid should be on the bottom, with movie clips actors[0], and [1] on top. Yet, no.

I switch theGrid to the top, and no again.

What is going on???

theGrid is a Shape, I drew a cross, drew it to bitMapData and filled a rectangle with it. Does that make a difference?

:hair:
