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?
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;
}
}