Hmm. I really don't think it's a crossdomain issue. We already have
policy files in place and don't get any runtime errors when loading
images or swfs. The problem is exclusive to IE7 and javascript on the
page.

On Mar 31, 1:14 am, Hung Bui <sailboa...@googlemail.com> wrote:
> Try the file on your root
>
> crossdomain.xml
>
> <?xml version="1.0"?>
> <cross-domain-policy>
>   <allow-access-from domain="*" />
> </cross-domain-policy>
>
> -----Original Message-----
> From: swfobject@googlegroups.com [mailto:swfobj...@googlegroups.com] On
>
> Behalf Of inchworm
> Sent: 31 March 2010 09:02
> To: SWFObject
> Subject: [SWFObject] Re: external swf unable to access page javascript
>
> We already have a crossdomain file and are using allowScriptAccess =
> "always"
>
> The only one of those that I haven't tried yet is
> flash.system.Security.allowDomain("*");
> I thought that would just allow another site to manipulate your swfs
> but perhaps it's treating the ExternalInterface calls and flashvars as
> some sort of cross script? Seems weird that it would work in all
> browsers except IE7.
>
> The only way I can show my code is if I use pastebin, otherwise it
> says "We were unable to post your message. If you believe this is an
> error, please contact Google Support".
> Here's a pastebin link to the code:http://pastebin.com/Tx4XEV93
>
> Thanks for taking the time to help me out, I sincerely appreciate
> it :)
>
> - Rob
>
> On Mar 30, 4:14 pm, Aran Rhee <aran.r...@gmail.com> wrote:
> > The known issues are to do with ensuring the host page and swf file have
> the
> > correct security sandbox settings to enable communications. Flashvars
> should
> > always be allowed to the passed into the swf, as this is done at object
> > construction time.
>
> > On the host page side of things you will need to ensure that
> > allowscriptaccess=always
> > since your swfs are coming from a different domain than the page. On the
> swf
> > side of things you will need to ensure that you have called allowDomain.
> > Below are the most open settings you can set (lock down to your domains
> > after you have determined it is working)
>
> > AS2 - System.security.allowDomain("*");
> > AS3 - flash.system.Security.allowDomain("*");
>
> > If you are loading any data (images, xml etc) from your swf, then you will
> > also need a crossdomain policy file on the domain you are loading the
> > content from.
>
> > Everyone else can post code to the list, so I am unsure why you are not
> able
> > to.... Copy and paste your code into something like notepad to ensure it
> is
> > plain text, and paste into your email.
>
> > Aran
>
> > On Wed, Mar 31, 2010 at 8:39 AM, inchworm <scruffp...@gmail.com> wrote:
> > > I'm running into a problem with loading swfs on my page from a CDN. In
> > > all other browsers but IE7 everything works fine, however in IE7 my
> > > shell.swf does not receive any flashvars, nor can it run js functions
> > > on the page. If I switch the swfs to running off of the same domain
> > > the issue is resolved but the client has insisted that the swfs be
> > > hosted on their content distribution network ( which I refer to with
> > > my_CDN_url ).
>
> > > Is there any known issue with using swfobject, external swfs, and
> > > IE7???
>
> > > Any help would be IMMENSELY appreciated. Been stuck on this for over a
> > > week now.
>
> > > *edit* it won't let me post the embed code I'm using :(
>
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "SWFObject" group.
> > > To post to this group, send email to swfobj...@googlegroups.com.
> > > To unsubscribe from this group, send email to
>
> swfobject+unsubscr...@googlegroups.com<swfobject%2bunsubscr...@googlegroups.
> com>
> > > .
> > > 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 swfobj...@googlegroups.com.
> To unsubscribe from this group, send email to
> swfobject+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/swfobject?hl=en.
>
>
>
>  crossdomain.xml
> < 1KViewDownload

-- 
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to swfobj...@googlegroups.com.
To unsubscribe from this group, send email to 
swfobject+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en.

Reply via email to