I have 3 seperate swfobjects on a single webpage. Each of these
communication with each other using:
(code from swf file swfobjects loads)
//sending a request
var sending_lcSlideShow:LocalConnection = new LocalConnection();
sending_lcSlideShow.send("lc_SlideShowGallery", "methodToExecute",
Gallery);
(code from swf second file swfobjects loads)
//recieving a request
var receiving_lcSlideShow:LocalConnection = new LocalConnection();
receiving_lcSlideShow.methodToExecute = function(param1) {
_root.gallery = param1
loadXML(param1);
};
receiving_lcSlideShow.connect("lc_SlideShowGallery");
If I have my webpage open on multiple browser windows communication
between swfobjects opened after the first don't work, but rather all
swfobjects communication with the swfobjects on the first browser
window opened.
It would appear I need some sort of name for the LocalConnection that
is unique. Does anyone know of a what to do this or another method I
should be using to communicate between the swfs.
--
You received this message because you are subscribed to the Google Groups
"SWFObject" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/swfobject?hl=en.