I believe you are using the wrong flash object method.
It should be
so.addParam("allowScriptAccess", "always");
not
so.addVariable("allowScriptAccess", "always");
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of aaron smith
Sent: Tuesday, November 07, 2006 9:09 AM
To: Flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] allowScriptAccess and swfobject.js
Hey All,
I am having issues with javascript working from a swf file. The problem is
that the html file I embed the flash in, is pulling the flash content from
another server. So to fix this I found out that i need to have the
allowScriptAccess param. It works when I use the html generated by flash,
and change that allowScriptAccess to "always", but I need to use swfobject.
to write the swf. So if I do so.addVariable("allowScriptAccess", "always"
);
It doesn't work then..
has anyone run into this issue?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com