# Layering properly - addChild

**URL:** <https://forum.kirupa.com/t/layering-properly-addchild/287754>\
**Category:** flash\
**Created:** [May 5, 2009, 9:56pm UTC](https://forum.kirupa.com/t/layering-properly-addchild/287754 "2009-05-05T21:56:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmennenoh](https://avatars.discourse-cdn.com/v4/letter/d/9dc877/32.png) [@dmennenoh](https://forum.kirupa.com/u/dmennenoh)\
**Post date:** [May 5, 2009, 9:56pm UTC](https://forum.kirupa.com/t/layering-properly-addchild/287754/1 "2009-05-05T21:56:25Z")

</div>

I’m in the process of building a game for a kiosk… my first real AS3 project. I’ve got an intro screen, an attract loop video, an educational screen, the game itself, a high score table, etc.  
How does everyone manage proper layering of display objects?

I thought possibly to create a bunch of Sprites in my Document class and then get references to them as needed?

I do that with my main game engine - make a ‘game’ sprite and then add the various elements to it.

But I need other containers… Maybe a container manager?

I guess I’m looking for best practice recommendations.

Thanks
