I have an xml configuration file that I need to parse for values before flexes the application.
I created a static class that allows you to retrieve values in an xml configuration file.
I initialize this class when the application first loads, but since the xml file is loaded with the Loader class, which loads synchronously, the class is requested for values before the xml file is actually loaded, so it throws an error.
Is there any way to download this xml file synchronously or can anyone suggest working with this? We cannot embed a file as a class variable, since we must be able to modify values remotely.
source
share