localConnection problem

[COLOR=#191970]Hello.[/COLOR]
[COLOR=#191970]
On one page, there are two swf files, which need to connect to eachother and send variables … now that is easy, but the tricky part is that localConnection does not work when one swf is located on the server, and the other swf is located on the client! They are both opened from the client machine, but each is located in a different computer.[/COLOR]
[FONT=Verdana, Arial, Helvetica][SIZE=2][COLOR=#191970][/COLOR][/SIZE][/FONT]
[FONT=Verdana, Arial, Helvetica][SIZE=2][COLOR=#191970]I have tried System.security.allowDomain("*") even specified an IP for it, still does not work![/COLOR][/SIZE][/FONT]
[COLOR=#191970][/COLOR]
[FONT=Verdana, Arial, Helvetica][SIZE=2][COLOR=midnightblue]What should one do here ? I’d apreciate the help guys :stare:[/COLOR][/SIZE][/FONT]

Actionscript in receiving swf:
stop();
var receivingLC:LocalConnection = new LocalConnection();
receivingLC.methodToExecute = function(varReceived) {
var myVar = varReceived;
if (myVar == “red”) {
trace(“red pressed”);
}
else if (myVar == “green”) {
trace(“green pressed”);
}
else if (myVar == “yellow”) {
trace(“yellow pressed”);
}
};
receivingLC.connect(“LC_slideshow”);

Actionscript in sending swf:
function slideNav(parameter1) {
switch (_root.blaBla) {
case “PrevSlide” :
// prev slide in slideshow
var sendingLC = new LocalConnection();
sendingLC.send(“LC_slideshow”,“methodToExecute”,“r ed”);
break;
case “NextSlide” :
// next slide in slideshow
var sendingLC = new LocalConnection();
sendingLC.send(“LC_slideshow”,“methodToExecute”,“y ellow”);
break;
case “PausePlaySlide” :
// pause and play slide in slideshow
var sendingLC = new LocalConnection();
sendingLC.send(“LC_slideshow”,“methodToExecute”,“g reen”);
break;
}
}

I am sure the actionscript is clean, it works in more than 30pages. and both swfs are running on the same page, but their directories are on seperate pcs. I’m still stuck, it still doesnt work

Based on the above information, I think that you’ll need to change the receivingLC.connect call so that the connection name has a prefix for the superdomain. It’s either going to be “localhost” or the IP of the server, unless you’re referring to the server by its domain name if it’s online, or something.

After reading this, i went and studied the superdomain issues, and it now works!! The problem turned to be a superdomain problem. Thank you