Objects initialization order question

Hi,
I have a small problem accessing xml data loaded in main movieclip constructor.
I have a project with few movieclips placed on stage. Movieclips are instances of infcls class.
In the class I’m trying to access data from xml loaded in mainclass (the main movieclip).


public class infcls extends MovieClip
    {
        public function infcls()
        {
            trace(this.parent.xmlData);
        }
    }

In mainclass xml is loaded and I have access to it with public variable xmlData.
The problem is that the few instances of infcls are placed on stage. It looks like they are initialized before main class is initialized. Mainclass is initialized right after all onstage classes are initialized. Thats why I can’t access the xml from child object placed on stage.
If I initialize them from mainclass not placing them on stage everything works fine, but there is too much of them to create and position them from code.
How to create and access something like this. How to force to initialize objects on stage after initializing mainclass? Any ideas? Maybe someone created something similiar?:confused: