Thanks
I would like to get the active domainame not those where thé swf is
Thank you for your help
Laurent CUCHET
CARABUS communication
port. 06 08 05 17 03
bureaux. 03 83 37 40 18
studio. 0971 291 555
site. http://www.CARABUS.com
Le 22 mars 2010 à 16:59, Aran Rhee <[email protected]> a écrit :
When you are calling myDomainName = localDomainLC.domain(); , that
returns the domain that the swf is on, not the domain of the host
page. I would see what you have described as the expected behaviour.
Aran
On Mon, Mar 22, 2010 at 8:09 PM, laurent_C <[email protected]> wrote:
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
.
--
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
.
--
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.