Im loading a swf from another domainname with swobject and I meet a
strange thing :
my domain is www.site_1.com
I put in swf this simple script to get domain name
var localDomainLC:LocalConnection = new LocalConnection();
myDomainName = localDomainLC.domain();
var addressname = "My domain is " + myDomainName;
it give me the "My domain is www.site_2.com , do U see why ?
Thank you
I embed like this :
<script type="text/javascript">
var fo = new FlashObject("http://www.site_2.com/address.swf",
"index", "100%", "100%", "8", "#000000", true);
fo.addParam("allowFullScreen", "true");
fo.addParam('allowScriptAccess', 'always');
fo.addParam('swLiveConnect', 'true');
fo.addVariable("go_var", "000000000000000000000000000000000_");
fo.write("flashcontent");
</script>
--
You received this message because you are subscribed to the Google Groups
"SWFObject" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/swfobject?hl=en.