I want to know which website embed my swf file.
For example, my swf is http://www.a.com/a.swf, and http://www.b.com/index.html embed my swf. How I can get “www.b.com” in my code,when stage.loaderinfo.url just get “www.a.com/a.swf”.
I want to know which website embed my swf file. For example, my swf
Share
What about having a handler on your server for requests coming from your swf. So, you could do something like (untested)
Note, I am using a call out to javascript to get the current url. Similarly you could use something like
location.hostinstead ofwindow.location. There are others as well that javascript will provide.