"Seems weird that it would work in all
browsers except IE7."

That is never weird. IE has never acted the same as other browsers. Always 
expect to do something special only for IE. 

Nathan Mynarcik
Interactive Web Developer
[email protected]
254.749.2525
www.mynarcik.com

-----Original Message-----
From: Hung Bui <[email protected]>
Date: Wed, 31 Mar 2010 09:14:32 
To: <[email protected]>
Subject: RE: [SWFObject] Re: external swf unable to access page javascript

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: [email protected] [mailto:[email protected]] 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 <[email protected]> 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 <[email protected]> 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 [email protected].
> > To unsubscribe from this group, send email to
> >
[email protected]<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 [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.

Reply via email to