New Version 1.0.1
Flash Logger
A Flash Logger Utility making it possible to log from flash to a JavaScript API that allows you to easily turn logging on and off, without having to edit your SWFs. Just a few features include:
- Support for all modern browsers (tested list is coming.)
- Flash Logger Console: A console that will display your messages. Lets you filter by message type, and logging instance.
- FireBug Aware: The console won't load if FireBug is active. This can be changed via configuration.
- Object Inspection: Inspect ActionScript and JavaScript objects and arrays in a FireBug-like inspector in any browser.
You can see the test SWF in action here: http://www.thomporter.com/open-source/flashLogger
The demo from the download can be viewed here: http://www.thomporter.com/public/flashLogger-1.0.1/examples/loggerTest.html
Screens and more info available here: http://projects.thomporter.com/flashlogger
Better documentation coming soon!
Version History:
1.0.1 - May 3rd, 2009
- FlashLogger Console Added - Allows debugging in any modern browser (see http://code.google.com/p/flashlogger for a list of tested browsers.)
- Object Inspector - Objects (Flash and ActionScript) can be inspected in the console.
- ActionScript Class Log modified to support debug(), info(), warn(), error() and reset() methods.
- Many features surrounding the new FlashLogger Console have been added.
- Global Options $FLOptions can be set with 3 possible options:
- forceConsole: Boolean - default false - forces the console to load in the presence of FireBug, and to have any logging done via $FL() to report there.
- autoLoad: Boolean - default false - causes the console to open when the page loads, instead of waiting for the shortcut key (forceConsole required to get the console to load in the presence of FireBug)
- shortcutKey: Char - default 'c' - A single character representing the shortcut key to open/close the console, used in conjunction with the shift key. (ie, shift+c)
- Depreciated: The use of $FL('my_instance','something to log') has been removed. Use $FL('my_instance').log('something to log');
1.0 - May 1st, 2009
First Public Release