How to retrieve current URL into Flash

Is it possible for a flash file to retrieve the current url from the browser and populate a dynamic text field with that url?

So say my swf is embedded at http://mysite.com
I have a dynamic text field in my swf labeled myText

What actionscript would be needed for that myText field to recognize the url and populate with “http://mysite.com”?

Any help would be appreciated.