How do I determine the URL of the current page from within Flex?
ExternalInterface.call("window.location.href.toString");