0 Replies Latest reply on Dec 18, 2008 2:45 AM by xavixxxx

    Acces to component of a module loaded


      I have a problem while accessing components inside a module freshly loaded.
      I handle the ModuleEvent.Ready of a IModuleInfo and I retrieve the module with this code :
      var module:Module = iModuleInfo.factory.create() as Module. (module is not null and seems correct)
      After doing that I would like to access to the component inside this module but the module has 0 child.

      I have tried to add an event FlexEvent.CREATION_COMPLETE to the module, because I thought after handle this event, all the components inside the module were created but it doesn't work.

      How can I do to access to those components ?

      Thanks in advance for your answers.