|
ThunderBoltAS2
ThunderBolt AS2 for logging ActionScript 2 applications.
ThunderBoltThunderBolt AS2 is a logger extension for Flash ActionScript 2 based on MTASC´s trace facilitiy and the superb Firebug add-on for Firefox. Features:
Screenshot
Online SampleSee a sample application in action. DownloadThere are three ways to get the source files:
More ScreenshotsConsole output
Console inspect
Console details
Debug Information
Log LevelsBy passing an extra literal to your trace actions, you can achieve multiple debug levels.
Debug in BrowserRun this two commands to get more information on your objects during runtime: // inspect obejcts and set attributes
ThundeBolt.inspect("Sample.APP.profileObject"); // inspect object
ThundeBolt.set("_root.logo._x", 20); // set new position
ThundeBolt.set("_root.logo.label.text", "Live hacking made possible!"); // change text// set context for later inspection
ThundeBolt.cd("_root.logo.label"); // set new context
ThundeBolt.inspect("_x"); // x position of current content
ThundeBolt.cd(".."); // select parent movieclip// execute methods
ThundeBolt.run("Sample.APP.randomizeAlpha(100)"); // run a method
ThundeBolt.run("Sample.APP.restoreAlpha()"); // run another method// test performance
ThundeBolt.profile("Sample.APP.profileObject"); // start profiling for all methods in object
ThundeBolt.run("Sample.APP.profileObject.method2()"); // execute profiling test
ThundeBolt.profileEnd(); // stop profiling and see resultsAcknowledgment |
Sign in to add a comment
I'm no stranger to Flash ActionScript?, ActionScript? debugging, or using Firebug. But I'm clueless as to how to install ThunderBolt?. Any instructions?
Could someone please explain the simplest way to implement this in an AS2 project? I have been trying this all day with no success, but cannot seem to get it to work (or even compile without errors) since there is absolutely no AS2 documentation here. I am trying to import the class in a BLANK project using "import org.osflash.thunderbolt.Logger;" but get a bunch of errors. Any help would be greatly appreciated!
i agree, how can use this on any AS2 Project?
@pwrsrg, @andresalrevez: If you have any issues, please post it on Google Thunderbolt Group (http://groups.google.com/group/flash-thunderbolt) to get in contact with Martin, who is the owner of the AS2 port.
Thanks!
-Jens
-- http://www.websector.de/