Currently Browsing: Actionscript 3

Debuging Flash in Firefox – Trace made easy

This week’s tutorial is on “How to debug” Flash in Firefox. As you noticed, standard trace statement will not work outside the Flash Output panel, unless you are using some exotic Firefox tool called Firefox tracer or something like that. Either way, I recommend Firebug (get it here) for a lot of reasons, which include html and css real time editing (to fix css problems and such) and some really cool script debug and error handling, however, we will only cover the console part.

First what is the Firebug console. It’s an output panel used to debug javascript (instead of using alert(‘something’) you can use console.log(‘something’) which will print out in a very nice manner without any annoying pop-up like messages.
(more…)