2 Replies Latest reply on Aug 19, 2008 12:36 PM by snafu7x7

    loading config settings from XML

      So I have some code that needs a bunch of configuration settings to be set first before it executes.
      Since I want the settings to be enviroment-specific and easily customizable I put them all in an XML file. The problem is that I need to ensure that the settings have completed loading into my class variables BEFORE any functions are invoked on the object (because otherwise it will break since the settings aren't done being 'set').

      How can I accomplish this? Its like I need a preloader or initializer for my class?