# StageManager

**URL:** <https://forum.kirupa.com/t/stagemanager/246360>\
**Category:** flash\
**Created:** [December 10, 2007, 3:19pm UTC](https://forum.kirupa.com/t/stagemanager/246360 "2007-12-10T15:19:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![onecommoncode](https://avatars.discourse-cdn.com/v4/letter/o/47e85d/32.png) [@onecommoncode](https://forum.kirupa.com/u/onecommoncode)\
**Post date:** [December 10, 2007, 3:19pm UTC](https://forum.kirupa.com/t/stagemanager/246360/1 "2007-12-10T15:19:47Z")

</div>

I am building a StageManager which will handle the placements of objects when you resize.

In my Main.as (document class) I have a getter function so that in my StageManager.as I can access that object. I was wondering if there is a better way, or a way to grab all the objects that have been added to the stage?

```auto

package com
{
    import com.nav.Navigation;

    public class Navigation
    {
        private static var _navigation:Navigation;
        
        public function Main():void
        {
            addChild( _navigation );
        }
    }
    
    public static function get navigation():Navigation
    {
        return _navigation;
    }
}

```
