over the past week or so, i've spent my evenings finishing up a new version of AFTERTHOUGHT -- incorporating several features i should have put in sooner! ![]()
behold:

there is obviously now a toolbar with buttons for quick access to functions - some new, some old.
from left to right:
you'll note that the output now appears more colorful. i've added the ability to color and highlight trace output by simply tracing certain words. here's the code that made the above trace output:

the complete list of trace commands are:
**COLOR:BLUE - blue text**COLOR:GREEN - green text**COLOR:RED - red text**COLOR:PURPLE - purple text**COLOR:LIGHTGREEN - light green text**COLOR:LIGHTBLUE - light blue text**COLOR:OFF - reset to black text**HIGHLIGHT:ON - turns on yellow background hilighting**HIGHLIGHT:OFF - turns off highlighting**FUNC:<function name> - used to identify a function when it's called (see example code)once set, the color and highlight commands are ON until you turn them OFF. Player warnings and messages are still their default colors, even if coloring is turned on.
the trace commands are NOT case sensitive. also, i tried to keep them formatted in a way you would not normally format a trace() call. if you do, i'm sorry. ![]()
this version uses a third-party RichTextBox control for the background highlighting, so you will find a dll in the zip file with the main exe. keep this dll in the folder with the exe and you should be set.
DOWNLOAD AFTERTHOUGHT V2 HERE
DOWNLOAD AFTERTHOUGHT V2.1 HERE (more info)
AFTERTHOUGHT is still free of charge - though i wouldn't say no to a small donation if you're so inclined.
i have not included the source code in this zip. i switched it over to VS2003, experimented with several different RichTextBox controls, and generally made a mess of the code; it's not pretty or documented. if you want the code, let me know and i'll send it on.
and, as always, you need to be running the .NET 1.1 runtime and a DEBUG version of the Flash Player for any of this to work.
any problems or questions, please comment here or email me.
The opinions expressed on this blog are those of the author only and are not necessarily those of his employer.
