Hi Sebastian,
I've had my share of trouble with cross domain issues, and it usually came
done to adding this line to the flash apps:
System.security.allowDomain( "*" );
Hope it helps,
Gert-Jan
2008/1/10, sebastian chedal <[EMAIL PROTECTED]>:
>
> Hello everyone, searched archives and went through the flash help IDE but
> I
> am still a bit stuck with a cross domain issue.
>
> 2 flash files and 1 html page, the HTML page is on a different
> server/domain
> than the SWFs.
>
> both flash files need to have access to JS on the page [calls and return].
>
> It works fine when I have all 3 files on the same server [for testing, but
> this is not the final location in production...]
>
> I have tried [in param and embed of object:]
> allowScriptAccess = "always"
>
> And I also tried making a crossdomain.xml file:
>
>
>
>
>
>
>
> I placed the crossdomain.xml file in both servers where the files are
> hosted
> (/test/) and then I pointed the flash files [first frame of code] to the
> cross domain file:
>
> System.security.loadPolicyFile("
> development.servernameA.com/test/crossdomain.xml");
>
> Maybe I am missing something very simple...? But at the moment I am stuck
> and not all too sure what else I need to change to allow these two swf
> files
> to send/receive javascript to the hosting HTML page...
>
> any advice is much appreciated! Thanks!
>
> Sebastian
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
--
Gert-Jan van der Wel
Floorplanner
[w] http://www.floorplanner.com
[e] [EMAIL PROTECTED]
[t] +31 616.650.338
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders