RE: [flexcoders] Problems with LocalConnection

2005-08-17 Thread Dimitrios Gianninas
My code is a bit different that yours, perhaps you should look at it and just change things around:   Sender:   myConnection = new LocalConnection(); myConnection.send("phxApp", "messagePosted", "uploadSuccess");   Receiver:   cn = new LocalConnection(); cn.messagePosted = Delegate.create

RE: [flexcoders] Problems with LocalConnection

2005-08-17 Thread Dirk Eismann
This looks like a scoping problem. Try this: private function CC():Void { receivingLC = new LocalConnection(); receivingLC = new LocalConnection(); receivingLC.methodToExecute = mx.utils.Delegate.create(this, setText); } private function setText():Void { myText.text="ok"; } Dirk. -

RE: [flexcoders] Problems with LocalConnection

2005-08-17 Thread Philippe Maegerman
Philippe Maegerman Web developer +32 2 400 40 39 +32 472 35 28 10 Avoir des rêves, c'est continuer d'exister...   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of r_woessSent: mercredi 17 août 2005 14:19To: flexcoders@yahoogroups.comSubject: [flexcoders] Probl