Hi Guy,

if you are using the ModuleManager to get the Module you have to
create the instance and add it to the application in the Module.Ready...

something like this:

private function onModuleReady(event:ModuleEvent):void
{
     var child:DisplayObject = event.module.factory.create() as
DisplayObject;
     //The child var will contain you module    
     if (child)
     {
         addChild(child);
     }
}

if you are using the ModuleLoader, this is done in the ModuleReady,
but if you check the code, it creates the instances, fires the event
and then adds the module... so maybe this is whats happening...

Hopes this help
Gus


Reply via email to