Hello everyone.
I currently have a piece of flash “myflash.swf” on a web site somewhere. It is set up to be loaded and executed by other flash programs (that I have no control over) around the web. I would like to know which websites are using my little flash program. It’s easy, I use ExternalInterface.call(‘function(){return location.href}’) and get the URL of the website, then pass it back to my server. The problem is, some of these websites don’t set the AllowScriptAccess flag. Or they use embed. Either way, it kills all ExternalInterface calls and makes them useless.
I’ve played around with using _root._url and other methods, but none of them return the url of the website. So that’s my questions. How do I get the URL of a website running my flash program without using ExternalInterface??? Any suggestions in ActionScript 2 or 3 would be great!
Asail77