Inside flash.display.DisplayObjectContainer

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…