PDA

View Full Version : Local Connection between domains impossible?



squadjot
June 11th, 2007, 06:15 AM
..without a crossdomain policy file?..

I'm having problems getting local connection to work between two SWFs on two different domains.

- BOTH files contains in frame 1 : System.security.allowDomain("*");
- The receiving file is on a server with crosdomain policy file..wich allows all domains.

i posted same question here: http://www.actionscript.org/forums/showthread.php3?p=618772&posted=1#post618772

but get the answer that its only possible if BOTH domains has a crossdomain policy file, but duh.. i really cant beleive that macromedia guys didnt foresee that especially banners ends up on servers that you dont know/control..so therefore you cannot be sure that they have a crossdomain policy file that allows ur domain etc etc..

but if its true..then im stunned.. , in my worl it made sense that you would need crossdomain policy for files other than SWF (cause SWF can contain the System.security.allowDomain("*"), and i.e FLV cannot).

brndn
June 11th, 2007, 06:28 AM
maybe talk to your host about crossdomain access??

squadjot
June 11th, 2007, 08:10 AM
maybe talk to your host about crossdomain access??
Please, read the whole post, and only reply if you have experience with "Local Connection"

I dont have issues with other forms of crossdomain policies.

brndn
June 11th, 2007, 11:46 AM
Localconnections run from the clients machine right??
if so then shouldn't they communicate from a temporary internet folder??