This blog has moved to a new location!

Friday, December 11, 2009

Debug Text has been updated - now with Documentation!

In addition to making the appearance of the blog a little nicer, I finally got around to updating and creating Documentation for DebugText.

DebugText now has it's very own hosting thanks to a very helpful contributor. :)

The library can be downloaded directly at:
(If anyone prefers "rar" or any other compression, just ask)

And the Documentation can be viewed directly in the browser at:

The ZIP file includes the class, ASDoc documentation, and and some example usage.

Check out the old thread for a few examples, all of which can also be found in the example.swf file found in the ZIP:

This is taken directly from the "README.txt" file.
DebugText version 1.0

DebugText is a lightweight, onscreen, visual tracing tool.

This tool was developed because 'trace()' is not always available (like when preloading external SWFs), and the process of creating new TextFields all the time can become a bit of a hassle. The DebugText class will create a small textField on the screen that displays whatever you "trace" out, and instead of several lines of code to make this TextField, one line is enough.

There are two versions of the DebugText class. Both versions use the same code, but different packages:
  • Top level (no package name) - Place the AS file directly into your Global Classpath. Named for convenience, to avoid import statements. It can be moved to a specific package, but then an import statement is required at the top of every class that uses DebugText.
  • aRenberg.utils.DebugText - Requires import statements for each class DebugText is used in.

For sample uses, see the Examples folder.

I hereby release this code to the general public. All users are allowed to use and modify the code as they please as long as they don't publicly take credit for the code as their own work. References to where the code can be found are appreciated, but not required.

Copyright 2009 Andreas Renberg

Now I only have go get around to creating the rest of the Debug suite...

No comments:

Post a Comment