Retrieving server address

Hi,

as i work on different server, i would like to be sure that my swf file works everywhere without changing AS3 line code.

for that i would like to retrieve the server address.
How can i do that in AS3 ?

i mean once my server is http://192.150.25.30, once it’s http://www.mywebsite.com and once it’s http://10.106.45.32

thanks a lot,

A