For example: the configuration file holds the endpoint URL of a web service used to obtain data from the server. The URL resides in the xml because we want to allow our users to alter the endpoint URL according to their environment. Now because the endpoint URL is retrieved only after the xml has been completely loaded, some of the application's components might be invoking operations on this web service before it is initialized with the correct endpoint. The trivial solution would have been to suspend the initialization of the application until the complete event is dispatched by the loader. But it appears that this solution is far from being trivial. I haven't found a single solution that allows me to load the xml before any other object in the application.