1 Reply Latest reply on Sep 24, 2012 2:24 PM by Flex harUI

    How to load multiple modules asynchronously




      I have an application which's been divided in to 18 modules. After the login, when i try to load all these modules, UI hangs for sometime and i have to wait for all the modules to load.


      This is how i load the modules


      for each(var module:String in moduleUrlArray) //  moduleUrlArray contains 18 module urls

           var widgetMl:ModuleLoader = new ModuleLoader();

           widgetMl.percentHeight = 100;

           widgetMl.percentWidth = 100;





      Is there any method to load these modules asynchronously and update the screen as on when a module gets loaded.


      Thanks in advance.