Dynamically find the domain in AS3

HI

I have tryed some solutions but I can’t make anything work.

Can anyone tall me some sample code to display the domain where flash is running.

Thanks