4 Replies Latest reply on Jul 18, 2007 12:39 AM by phil ashby

    Getting Server name or IP

    phil ashby Level 1
      Hi guys and gals,

      I run a large Intranet and want to standardise the way alot of the flash files work. They all need some standard bits of data, but at the moment they are located in txt files in the same reletive path as the movies, so when using LoadVars, it looks at params.txt. Rather than have 100+ param.txt files that all hold the same stuff, I want to have one-placed on the root of the server - that all the flash movies reference. However, I don't want to hardcode the servername into the AS, as if we upgrade/change servers then it'll mean updating all the movies. So, can Flash detect the IP address of the server it's running on without any external help (eg passing a variable as a URL param into Flash)

      Thanks all
      P