FireBugLogger class update

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.

Leave a Reply