title: How do I read from a config file in Flex?
body: <p>I'm working on a project for school right now and we're trying to get it set up so that it is easily deployable. The webapp portion of it is written entirely in Adobe flex.</p>
  
  <p>However, we need links to certain files / url's within the code which are different on different machines.</p>
  
  <p>For instance, my server might use 8180 as the port while someone else uses 8080.
  Or one person is using Windows so a filepath would be C:/... while mine would be /home/...</p>
  
  <p>Is there any way we could put these files into a separate config file and read them dynamically within the mxml files?</p>
  
  <p>It would be really nice if we didn't have to recompile for each individual deployment...</p>
  
  <p>Thanks in advance!</p>