wiederkehr / swf-console

The swf-console helps you to output information about an object. It displays a small textfield utility with basic functionalities. Scroll, drag & drop and resize to be exact. It delivers two API methods to output data. It is intended to be used when you haven't the native trace-window available (in-browser developement for example).

This URL has Read+Write access

Benji (author)
Fri Sep 12 03:37:36 -0700 2008
commit  683ed61ece599aff0caae45b6600b4ef4c90246f
tree    3065b38966388d3f957bddeeb956cd7f15726e81
parent  1678384c943f2b7207cc9843f023bf4ac38cb8e5
README.markdown

Background

The swf-console helps you to output information about an object. It displays a small textfield utility with basic functionalities. Scroll, drag & drop and resize to be exact. It delivers two API methods to output data. It is intended to be used when you haven't the native trace-window available (in-browser developement for example).

Installation

  1. import the package
    import console.Console;

  2. create the console
    private var console:Console = new Console(this);

  3. add the console to the DisplayObjectContainer
    this.addChild(console);

  4. call an api function in your code
    console.analyze(this); or
    console.print(this);

  5. display the console by pressing the space-bar
    customize this interaction by changing the key-code at Console.as #249

Contributors

  • Benjamin Wiederkehr, http://www.artillery.ch