Talk:Alcon

Discussion for Alcon ...

I've been using Alcon 1.0.5 for a while now, excited to try out 1.06...

I'm on OS X using the swf as a trace panel while debugging in a browser window. One issue I've noticed that is new with 1.0.6 is that on Firefox the trace output no longer seems to reach the panel. On Safari it seems to work fine. I tried this with a new swf just to be sure:

---

import net.hiddenresource.util.debug.Debug;

Debug.trace("Hello World");

--

In Safari this outputs, in FF not. Any ideas?

Sascha 07:13, 5 February 2006 (CET):

Hi, I've just tested it on our Mac with Safari and Firefox. Both worked without problem. It was the latest Firefox version (1.5.0.1) however so I'm not sure if this has something to do with it. On Windows I didn't have any problems with Firefox v1.5 either. I'm working on Alcon 1.0.7 currently and hope to publish it very soon. There will be some more improvements with that version. --Sascha

Sascha,

Thanks for your continuing development on Alcon. It's my favorite of the many logger utilities out there.

My Firefox issue could be many potential issues (security policy restrictions on FP8, local settings on my box, etc.) I'll see if I can find out what the issue is.

Meantime I also wanted to mention that I miss the halfwhite overlay that used to come on over the text of the logger when the pause key is pressed.

- Buck

LocalConnection question
I am using an older version of Alcon (1.05) and am having a problem with the sandbox. If I try to connect to Alcon from a swf loaded from a remote host, it will not log. I believe it can be fixed by using an underscore in the LocalConnection name. I was wondering if this change has been made in one of the newer versions?

That's right! Since Flash Player 8 you have to add an underscore before the connection name to accept remote host connections. The newer versions of Alcon are using _alcon_lc as the LC name. -Sascha

AS3.0 class
I'm trying to run Alcon with the AS 3.0 sdk using the new class and not having a lot of luck. Here's my code package { import flash.display.Sprite; import com.hexagonstar.util.debug.Debug; // Meta Commands for the compiler [SWF(width="800", height="600", backgroundColor="#FFFFFF", frameRate="30")] public class HelloWorld extends Sprite { public function HelloWorld{ Debug.setFilterLevel(0); graphics.lineStyle( 1,0,1); for(var i:int=0;i<100;i++){ graphics.lineTo(Math.random * 400, Math.random * 400); }	   Debug.trace( "Hello World",0 ); Debug.trace("Testing 123",1); Debug.trace("Test Test Test",2); }   } }

I run the Alcon.swf file in flash player, then build->run my swf file also in flash player... don't get any output. The AS 2.0 test files seem to run just fine. Any thought? Am I missing somehting?


 * Clarification* I don't get any output in the Alcon.swf file from my traces. The actual as3.0 code that draws the random lines works just fine.


 * Ok, I've tested your class here and it works fine with both the Alcon.exe and Alcon.swf v1.0.0.9. Which version of Alcon are you running? --Sascha 05:36, 19 February 2007 (CET)

- Settings file not found, using defaults!
 * Hmmm. I have a version 1.0.8.9 not 1.0.0.9... is that a typo? Here's the output I get from the Alcon.swf
 * Alcon v1.0.8.9 ***

I'm running on OS X and using Flash Player 9 stand alone.