i think your best bet is to write a javascript function that returns window.location.href and then use the ExternalInterface class to call that function within the flash
best a On 12 August 2010 10:51, Pedder <b_gro...@gmx.de> wrote: > Hey all together, > > i was wondering if i can get the url where my flash movies are embeded. I > have a little widget on my page to which i provide an embed code to my users > so that they can embed my widget anywhere on the internet. But the problem > is that i don't know where the widget is embeded. > Some guy told me that he embed it on his blog but i can't find it there and > it would be nice if i could have some kind of statistic where and how often > my widget is played. But i wasn't able to get the external url (where the > code for the widget was embeded). > > I tried _url and root.loaderInfo.url but that only gives me my own url > where the swf file is stored. > > Any idea? Is there a possiblity to get the url given by some javascript and > document.URL? > > Thank you for your answers. I hope that there is an answer because i'm > struggling with this for a couple of weeks now. > > Cheers. > Benjamin > > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders