Update Jan 24 -09: The Flash Tracer that works with Firefox 3 has to be downloaded from the creator’s own site. The one at Mozilla Addons doesn’t work with 3.x (yet). In the instructions below I have therefore used the link to his own site.
If you’re developing for Flash/Flex the FlashTracer can be quite a nifty plugin. It lets you see the flash player trace output directly in a sidebar in you browser. Outputting debugging info is something I use all the time while developing and I have tried several times to get FlashTracer to work, but haven’t managed, so I usually have a textarea inside my flash/flex project with a custom debug output. I guess I have been too impatient before but today I sat down and read through some posts about it. This is how I eventually got it to work on my Mac:
1. Make sure you’re using the latest Flash Player Debug version. Download it here
2. Install the plugin (of course)
3. Open the FlashTracer sidebar in FireFox. Click the Preferences button.
4. Under the area named “Select output file” click browse and point the plugin to the flashlog.txt file your debug player outputs. In my case (being on a mac) it was here:
/Users/{username}/Library/Preferences/Macromedia/Flash Player/Logs/flashlog.txt
The plugin will ask if you want to replace the file, which is stupid because you will want to read from the file, not write to it, but that’s just how it is. Don’t let it scare’ya.
5. Save/close preferences.
6. Restart FireFox.
That should do it.
Ya ur truly right. I have tested it in Firefox 3.0.10 and it worked for me.
Thanx
Dammit, I hate Vista.
I can’t open/find the required file:
flashlog.txt
the Folder “AppData” in my User-Folder exists, but somehow I can’t get access. I can only see it with the search-engine.
No idea how i can point to that file now.
some has an idea?
On Vista the file should be located here:
C:UsersusernameAppDataRoamingMacromediaFlash PlayerLogs
I haven’t got Vista myself, so I can’t verify the position, but I saw this somewhere on the web.
I uninstalled that piece of crap Vista and reinstalled XP instead. Mainly because my P4 3.0 GHz apparently was to slow for it.
There are 2 ways of getting the trace output in Windows 7:
1) Install the XP mode for the Windows 7. Then follow this tutorial (above). Works on XP.
2) Use this program, that traces the flash output. It creates the mm.cfg file for you.
You have to install the flash debug player before using it. Then just start the Vizzy.jar file.
http://www.actionscript.org/resources/articles/207/1/Trace-and-debug-ActionScript-from-your-browser/Page1.html
Vizzy here :
http://code.google.com/p/flash-tracer/downloads/list