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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

local connection

Status
Not open for further replies.

womblies

Programmer
Feb 28, 2003
62
IE
hi i'm using local connection to send info between movies and that is working fine. i know that if you have more than one broswer open it will fail.
is there any way that i can use lc in my movies and have more than one broswer opened
 
Not sure I understand... are you trying to send info between movies opened in different browsers?

There's always a better way. The fun is trying to find it!
 
no not between browers, the two movies would be in one browser window(ie menu movie and main movie)the local connection will work fine with one browser window

but if open another browser window with the same movies( 2 windows with the same movies in each window) the the local connection will not work(if i click on a different menu item in new window nothing will change in new browser window)

i hope that explains it a bit clearer, so what i want is that i can have multiple browers windows open and when you click on menu item it will change main movie in that browser window
 
Okay, you've got the same move running in 2 different browsers but the movie doesn't work in the second browser. Some questions...

1. What browser and version are you using?
2. Where is the movie being served from? (local machine or web site)



There's always a better way. The fun is trying to find it!
 
i'm using IE6
i have it running on a web server, if i have 2 running on local machine it won't work or 2 working on web server it won't work
 
Got me on this one! I can do it with my movies no problem.
Just so we're on the same page, you're not trying to update the movie on the first browser with actions from the second browser, correct?

There's always a better way. The fun is trying to find it!
 
no i want them to act independantly of each other
 
Can you post a link to the movie - or a link to the .fla?

There's always a better way. The fun is trying to find it!
 
May I ask why you want to have 2 different browser windows with the same set of movies displayed?
 
i don't have a link to the movie or the fla, but i'm using the very basic local comnnection as described on the mm website

outgoing_lc = new LocalConnection();
title2 = "Add";
outgoing_lc.send("lc_display", "method_ToExecute", this.List2, title2, subtitle2, this.menu_dis);
delete outgoing_lc;

incoming_lc = new LocalConnection();
incoming_lc.method_ToExecute = function (param, param2, param3,param4,) {
display_layout.populate(param, param2, param3, param4, );
}
incoming_lc.connect("lc_display");



oldnewbie
i have to have it so that the user can have more than one browser window if they want it
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top