Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

local connection buggy

Status
Not open for further replies.

bubu

Programmer
Joined
Mar 3, 2002
Messages
463
Location
RO
Hello guys!
I have done some tests and here is what i come with:
the URL:
When i open this page with a browser(IE, Netscape, Safari), no metter how many pages (but the same type of browser) the local connection method works...

...but when i open the page in IE(for e.g.) and then open it in Netscape( with the IE page opened) the local connection works only in IE (THE FIRST BROWSER WINDOW i oppened)...the browser combinations are not important...so i can open the page in Netscape first and then in IE and it only works in Nescape....SO the point i come on is that when i open the page in more than one browser (not window of the same browser) the local connection works only in the first window i open(no metter of the browser type)...

Hope you understood me well :-)

I will post now the code in both movies:
---sending movie(on the buttons)------------

on(release){
_root.selection="1";
outgoing_lc = new LocalConnection();
outgoing_lc.send("lc_name", "methodToExecute", _root.selection);
delete outgoing_lc;
}

---receiving movie-------------------------

_global.test=1;
incoming_lc = new LocalConnection();
incoming_lc.methodToExecute = function(param) {
if (_global.test!=param) { holder_mc.loadMovie"/flash/"+param+".swf", "holder_mc");
}
_global.test=param;
};
incoming_lc.connect("lc_name");

-------------------------------------------

Hope that somebody will find a fix for this buggy...or maybe a fix for this problem ;-)

Regards,
Dragos.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top