FireBugLogger class update

Posted By Thaylin on June 3, 2009

So a while ago I wrote a class that I called FireBugLogger that uses the console.debug as well as the rest of the FireBug method calls.

Today I came across a great way to help the other developers that may be implementing your flash on the html side. Though you’ll have to call the debug methods calls yourself in the flash, the html or backend developers that might be seeing an issue and aren’t sure if it’s data related can turn on the debugger when needed. By just adding an ExternalInterface.addCallback(’enabledDebug’, enableDebug) and then in then enableDebug method enable your FireBugLogger. This way it’s generally turned off unless the developers need to debug various things.

Just a thought.


Comments

Leave a Reply

Please note: Comment moderation is currently enabled so there will be a delay between when you post your comment and when it shows up. Patience is a virtue; there is no need to re-submit your comment.