View Full Version : Local Connection between browser and CD
krock
02-01-2005, 11:46 PM
Does anyone know how to do this?
Thanks.
// Code in the receiving SWF file
this.createTextField("result_txt", 1, 10, 10, 100, 22);
result_txt.border = true;
var receiving_lc:LocalConnection = new LocalConnection();
receiving_lc.methodToExecute = function(param1:Number, param2:Number) {
result_txt.text = param1+param2;
};
receiving_lc.connect("lc_name");
// Code in the sending SWF file
var sending_lc:LocalConnection = new LocalConnection();
sending_lc.send("lc_name", "methodToExecute", 5, 7);
one to one from the MM help !
where is the problem ???
krock
02-01-2005, 11:58 PM
It works if the html file is on the CD or on the local computer, but I need the html file on a server and the other file on the CD. This doesn't work, any ideas?
Hmmmm
this will by havy if i understand you right
one browser is runing on let's say the Server
and a Projector is runing on some other machine and they shoud comunicate ???
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.