wiln / flash-console

Automatically exported from code.google.com/p/flash-console
0 stars 0 forks source link

Cc.clear() not working with AIR remoting #101

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Cc.clear() doesn't work with AIR remoting.
Win 7, Console v2.6beta, flash player debugger 11

It does work with the UI "C" button though, so it must be a problem with the 
communication/remoting.
Cc.clear() also works when console not in air, but inside swf (with same 
computer/ flash player/ etc...)

Original issue reported on code.google.com by robin.be...@adictiz.com on 2 Dec 2011 at 5:39

GoogleCodeExporter commented 9 years ago
Are you planning to call Cc.clear() from remote to clear logs on the sender 
side?

Original comment by luay...@gmail.com on 2 Dec 2011 at 9:45

GoogleCodeExporter commented 9 years ago
I'm not sure what you mean by "sender side".
Basically I want to do something like that in my code :
Cc.start(this, "pass");
Cc.remoting = true;
Cc.clear();
Cc.log("Hello World");
So that on the AIR console side, I only get one hello world drawn even when I 
launch again the program and that I don't need to press the C button before 
each trial of the program.

Original comment by robin.be...@adictiz.com on 5 Dec 2011 at 8:37

GoogleCodeExporter commented 9 years ago
Hi, I get what you mean now.
I don't want client (sender) to be sending the 'clear' command to remote 
(receiver) every time we call Cc.clear() because it is purely a display thing. 
However, we can make it a configuration setting that remote clears it logs 
automatically when there is a new connection. Will keep this issue open for 
future consideration.

Original comment by luay...@gmail.com on 8 Dec 2011 at 9:54

GoogleCodeExporter commented 9 years ago
Will be in 2.7 release.

Original comment by luay...@gmail.com on 25 Feb 2012 at 4:43