# Inside flash.display.DisplayObjectContainer

**URL:** <https://forum.kirupa.com/t/inside-flash-display-displayobjectcontainer/248645>\
**Category:** flash\
**Created:** [January 10, 2008, 12:06pm UTC](https://forum.kirupa.com/t/inside-flash-display-displayobjectcontainer/248645 "2008-01-10T12:06:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cheblin](https://avatars.discourse-cdn.com/v4/letter/c/bbe5ce/32.png) [@cheblin](https://forum.kirupa.com/u/cheblin)\
**Post date:** [January 10, 2008, 12:06pm UTC](https://forum.kirupa.com/t/inside-flash-display-displayobjectcontainer/248645/1 "2008-01-10T12:06:01Z")

</div>

I would like to get a full control on DisplayObjectContainer functionality.

I have idea to create class that extends DisplayObjectContainer and override all add/remove child functions. So outside it will looks like container contains thousands of objects but really a few.

I expected that DisplayObjectContainer works like a common object and runtime system use

public function getChildAt(index:int):DisplayObject

to get a container content when rendering. But this is not true…

Where is possible to read about internal flash runtime architecture.

Thanks…
