30 Replies Latest reply on Sep 18, 2007 6:26 AM by Greg Dove

    Getting domain of HTML page that embeds SWF

      I want to know the URL or domain of the HTML page which embeds my SWF file. Although I can get the domain of the SWF file itelf via LocalConnection.domain, this doesnt work when the SWF and HTML files are on different servers. A ugly workaround would be to call a PHP page and let that get the domain, but I was hoping that a client-side solution exists. Can anyone provide me with tips on this?