Installment 2, on my How to Trick out your Firefox series will touch on how to install FlashTracer, a super cool plug-in for FireFox that allows you to read trace statements in your browser. This is really helpful if you’re trying to debug a preloader, or anything else that requires external loading. The plugin is available for Mac, but I haven’t been able to get it to work on mine, so these instructions are for the PC.
- Download and install firefox(duh).
- Download and install the Mozilla Compatible Flash 9 DEBUG Player.*
- Install the flash tracer firefox plugin.
- Make sure that you have the following text file in the following location:C:\Documents and Settings\FirstName.LastName\mm.cfg. If it’s not there create a text file and name it as such.
- Inside mm.cfg paste the following text: TraceOutPutFileName=C:\Documents and Settings\FirstName.LastName\Application Data\Macromedia\Flash Player\Logs\flashlog.txt ErrorReportingEnable=1 TraceOutputFileEnable=1 MaxWarnings=0
- Restart FireFox
- Go to Tools>Flash Tracer (or hit Alt+A)
- The FlashTracer Panel should open on the left. Hit the options button at the bottom of the panel.
- Flash Tracer needs to point at a text file to write the trace logs to. It should be: C:\Documents and Settings\FirstName.LastName\Application Data\Macromedia\Flash Player\Logs\flashlog.txt **
And that’s it. It should work. You can now read trace statements from Flash in your firefox browser. But, wait, what if you want to read them in IE, still unfortunately, the dominant browser?
There’s an IE emulator also available for Firefox. After installing this, you can click the Firefox/IE icon in the bottom right of your browser to toggle back and forth btw the two browsers.
If anyone needs help getting this to work please feel free to ask.
*NOTE: You might also need the Active-X Flash 9 Debug Plugin. I haven’t tried with just the mozilla one, I always install both.
** NOTE: The directory containing the flashlog.txt file may be hidden so you might have to browse to this by typing it out manually into the address bar.