Quote:
Originally posted by The Yellow Yell
I like the look of this. Question about the code, in particular these lines:
lc.send("incoming", "onSendObject", obj);
lc.onSendObject=function(theObj){
Is onSendObject a name you picked or is it defined by the LocalConnection class? If it's the latter, are there many other event names that one of these objects can respond to? I ask mainly because in the first line, "onSendObject" is a string, which obviously means it could be other values.
onSendObject is a named i picked: