$.console – update

September 4th, 2007

$.console has been updated to version 1.1 with the following changes:

  • Fixed a bug where console would not show more than 4 lines of code on some systems
  • Added ability to pass parameters as an Array to registered functions
  • Added additional key listener (220) for German keyboards


The new way functions handle parameters is very useful for debugging:

Actionscript:
  1. $.console.register(testD,"D");

Now type "D 1,2,3,4" without quotes in the console to see the result.
It will call the following function:

Actionscript:
  1. private function testD(param:Array = null):void {
  2.     if(param) {
  3.         $.trace("with param " + param);
  4.     } else {
  5.         $.trace("without param");
  6.     }
  7. }

I want to say special thanks to Eric (ericd) and Dave for spotting the bugs. Thanks guys!

Download Source (v1.1)

IDev.tv - Make Awesome Flash Websites

2 Responses to “$.console – update”

  1. Roxlu Says:

    Hi there!

    I just wanted to tell you this is a wonderful idea! will this become the next firebug for flash?

    gr. Roxlu

  2. mip Says:

    thanks you for this update.
    sorry for my poor english.