3 Replies Latest reply on Dec 15, 2009 12:15 AM by chriswyl

    External Interface swf and html on different domains, Error#2060

    chriswyl

           Is that possible?

       

      1. I've swf file on www.mydomainmaster.com

      2. and html on sec. domain www.my2nd.com - swf file is embeded in html code

      3. I want to read url of se. domain? How Can i do that.

       

      I try using ExternalInterface

       

      myUrl= ExternalInterface.call("function() { return location.href; }"); - this working good when swf i htm are on th same domain

       

      else

       

      SecurityError: Error #2060:...... ExternalInterface www.my2nd.com can't... www.mydomainmaster.com/index.html.

       

       

      thx.