Hello David,

did you manage to solve this problem? I am trying to fix the exact same thing.

cheers,

Alberto

On Tue, Sep 1, 2009 at 5:17 AM, Alex Harui <[email protected]> wrote:
>
>
>
> Smells like a JS/Flash security issue and maybe a JS side call will fix it.  
> I’m not an expert in this area though.
>
>
>
> Alex Harui
>
> Flex SDK Developer
>
> Adobe Systems Inc.
>
> Blog: http://blogs.adobe.com/aharui
>
>
>
> From: [email protected] [mailto:[email protected]] On 
> Behalf Of david.keutgens
> Sent: Monday, August 31, 2009 7:14 PM
> To: [email protected]
> Subject: [flexcoders] Re: BrowserManager crossdomain issues
>
>
>
>
>
> Both domains are https. Yeah, I'll use the debugger but I get the impression 
> that this is a Flash Player security restriction.
>
> -David
>
> --- In [email protected], Alex Harui <aha...@...> wrote:
> >
> > Is one domain https and the other http? Are you calling setTitle in your 
> > code? Maybe debug through that to see what is going on.
> >
> > Alex Harui
> > Flex SDK Developer
> > Adobe Systems Inc.<http://www.adobe.com/>
> > Blog: http://blogs.adobe.com/aharui
> >
> > From: [email protected] [mailto:[email protected]] On 
> > Behalf Of david.keutgens
> > Sent: Monday, August 31, 2009 4:09 PM
> > To: [email protected]
> > Subject: [flexcoders] Re: BrowserManager crossdomain issues
> >
> >
> >
> > Hi Alex,
> >
> > This is a SWF compiled with Flex SDK 3.3 running in Firefox 3.5. The 
> > BrowserManager code works fine when the HTML/JavaScript and SWF are hosted 
> > in the same domain, only separating them breaks it.
> >
> > Thanks,
> > David
> >
> > --- In [email protected]<mailto:flexcoders%40yahoogroups.com>, 
> > Alex Harui <aharui@> wrote:
> > >
> > > Which browser? Might be an issue with HistoryFrame.html on IE?
> > >
> > > Alex Harui
> > > Flex SDK Developer
> > > Adobe Systems Inc.<http://www.adobe.com/>
> > > Blog: http://blogs.adobe.com/aharui
> > >
> > > From: [email protected]<mailto:flexcoders%40yahoogroups.com> 
> > > [mailto:[email protected]<mailto:flexcoders%40yahoogroups.com>] 
> > > On Behalf Of david.keutgens
> > > Sent: Monday, August 31, 2009 5:05 AM
> > > To: [email protected]<mailto:flexcoders%40yahoogroups.com>
> > > Subject: [flexcoders] BrowserManager crossdomain issues
> > >
> > >
> > >
> > > Hi All,
> > >
> > > I'm trying to host the html-template files provided by Flex Builder 
> > > (including all necessary JavaScript) on one domain ("www.mydomain.com") 
> > > and the embedded SWF on another ("swf.mydomain.com").
> > >
> > > Now, even though I call Security.allowDomain("*.mydomain.com") in my Flex 
> > > app and allowScriptAccess="always" in the embedding html, FlashPlayer 
> > > complains about a SecurityViolation in flashlog.txt. It actually happens 
> > > as soon as I hit the browser's back button.
> > >
> > > Firebug reports: "uncaught exception: Error calling method on NPObject! 
> > > [plugin
> > > exception: Error in Actionscript. Use a try/catch block to find
> > > error.]."
> > > The exception gets thrown in the setTitle function in history.js.
> > >
> > > Crossdomain files don't seem to be the issue, they're set up and working 
> > > fine for other content.
> > >
> > > I cannot really find any reference of others who tried this before, does 
> > > anyone know if it is actually possible at all to host the history related 
> > > JavaScript in a different domain than the SWF?
> > >
> >
>
> 


--
Alberto Brealey-Guzmán
+44 07590 734124

Reply via email to