Hi, 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 tag and have AS3 read that tag and pull it in as a String, without using JavaScript
My limitation is that I can ONLY add the tag to the HTML and cannot add any JavaScript functions. This has to be strictly done in AS3.
Either way, I need to know what URL I'm on. Any help is greatly appreciated.