a.swf is loaded in a.html which is hosted at http://www.a.com/a.html.
I want to know, if user browses http://www.a.com/a.html, in actionscript, can I get the http request URL? In this example I want http://www.a.com/a.html.
a.swf is loaded in a.html which is hosted at http://www.a.com/a.html.
I want to know, if user browses http://www.a.com/a.html, in actionscript, can I get the http request URL? In this example I want http://www.a.com/a.html.
Flash: this.loaderInfo.url
Flex: Application.url
or Application.loaderInfo.url