Getting current URL in Flash from JavaScript using ExternalInterface and IE
I'm trying to get the current URL that the Flash player is on. Not the URL of the .swf file, but the URL that the browser is pointing to. Thus far I've used: var st:String = ExternalInterface.call("window.location.href"); Unfortunately this doesn't work in IE. From my research, I can see that it won't work with IE either way. The only other thing I found around the Internet is putting an 'id' tag on the tag. So I'm trying to find out if and/or how I can: Somehow make a call using the ExternalInterface in IE and other browsers to return to me the current URL. OR Slap an id="PA" attribute on the