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: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of david.keutgens
Sent: Monday, August 31, 2009 5:05 AM
To: flexcoders@yahoogroups.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?

Reply via email to