I like the idea of loading in config properties from an XML file, but I
am still looking for a while to externalize the server information
without requiring any changes to config files. That is, I am trying to
keep it such that clients, etc. can just drop in the WAR file and go.I
found this snippet of code which returns the name of the server from
which the SWF file was
served:URLUtil.getServerName(FlexGlobals.topLevelApplication.url)There
are always way to get the port number and determine if i...