Username:

Password:

Fargot Password? / Help

Alcon

ActionScript Logging Console
Alcon is a lightweight logging and debugging tool for Flash developers who want to quickly get debugging information from their projects. It offers an easy to use API for use in your source code which sends debug information to an output console from any kind of Flash-based runtime, be it the web Flash player, the standalone Flash player or the AIR runtime.

Besides simple logging, Alcon comes packed with several other useful features like an app monitor to watch your application's framerate and memory consumption, an object inspector to check object properties, a stopwatch, a feature to quickly check key and character codes and a lot more.

Alcon is very easy and straightforward to use but here's a quick example to get you started with using Alcon.

First add the alcon.swc to your project's library path so that the compiler is able to find it. The swc can be found in the Alcon install path in the 'debug' folder. Alternatively you can add Alcon's ActionScript class 'Debug.as' to your project's source path. Check your IDE's or compiler's documentation to see how to add library and source paths. The Flex compiler options documentation might be useful here.

Second, create an ActionScript 3 class, name it AlconTest and then copy and paste the following code into it.

package 
{
	import com.hexagonstar.util.debug.Debug;
	import flash.display.Sprite;
	
	public class AlconTest extends Sprite
	{
		/**
		 * Constructor.
		 */
		public function AlconTest()
		{
			Debug.monitor(stage);
			Debug.trace("Welcome to Alcon!");
		}
	}
}

After that start Alcon, then compile and run the class and you should see Alcon's App Monitor begin to work and you will have the trace output in Alcon's logger. You can find a complete help and API documentation by opening 'Help...' from Alcon's Help menu.

NOTE: Alcon requires Adobe's AIR runtime to be installed on your system. If you haven't installed it already you can download AIR here.

Download Alcon v3.1.4 (974.38 kB, downloaded 27132 times)

Got any questions or problems regarding Alcon? Feel free to check out Alcon's support forum.

> Visit Alcon Support Forum