Code Monkey home page Code Monkey logo

dconsole's Introduction

DConsole is a combined logger and command-line interface for Flash 11 ActionScript 3 developers, in development since 2006.

  • Call any function.
  • Poll or change any property.
  • Visually tweak what's on stage.

Enjoy the power a developer should have over his or her own creation.

It functions as an easily-implemented layer that sits on top of your application, using introspection techniques and specifically exposed methods to grant you run-time access to your ActionScript objects.

addChild(DConsole.view)

The console allows you to bind AS3 functions to console "commands".

function getUserByName(name:String):UserData{
	...
    return foundUser;
}
DConsole.createCommand("getUser",getUserByName);

These commands can then be invoked from the commandline to execute their functionality and print their returned results.

>> getUser John User
<< [object UserData]

It also doubles as a flexible logging view, offering a loose coupling with SLF4AS and AS3Commons logging to offer meaningful logging with metadata such as message origin and importance.

public static const L:ILogger = Logging.getLogger(MyClass);

L.info("Hello world!");
L.fatal("OH GOD");

A third purpose is as a layer of visual developer tools for simplifying common Flash developer grievances, such as making run-time visual adjustments to the application frontend before committing them to code.

For more informaton, hit the wiki.

dconsole's People

Contributors

cristobal avatar sunjammer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dconsole's Issues

Autocomplete makes custom commands unusable on iOS

Because of the hint system when you start to type a command into the console - the autocomplete feature ends up selecting the whole typed word - so when you type the next letter of the command the whole word gets replaced with the next character. It would be awesome if there was a way to disable the autocomplete.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.