2 Replies Latest reply on Sep 30, 2010 3:17 PM by flexy_flex

    What's the best way to coordinate loading multiple modules.


      I have a number of resource modules that I'd like to load before loading my main UI module.


      I'm doing this now, but to make sure that everything loaded OK, I need to have a chain of Event.COMPLETE callbacks for every resource module load.

      In other (threaded) languages, I'd set a flag and run a wait on my main loop before loading the UI module.


      Is there a good compact way to wait for n modules to load in Flex?