What\'s an easy way to see the trace()
output of Flash/Flex movies when running in any browser?
Download and install the content debugger version of Flash Player.
Enable trace logging (official guide) by adding an mm.cfg file:
ErrorReportingEnable=1
TraceOutputFileEnable=1
Where to save mm.cfg depends on the OS:
/Library/Application Support/Macromedia
%HOMEDRIVE%\%HOMEPATH%
/home/user name
The log file, flashlog.txt, can be found at:
C:\Documents and Settings\username\Application Data\Macromedia\Flash Player\Logs
C:\Users\username\AppData\Roaming\Macromedia\Flash Player\Logs
/Users/username/Library/Preferences/Macromedia/Flash Player/Logs/
/home/username/.macromedia/Flash_Player/Logs/
Optionally, you can install the Firefox add-on FBTracer which displays the trace output in a Firebug panel.
Vizzy makes life easier if you want a basic logfile viewer. You just install the debug player and then install Vizzy. It is a window that tails the flashlog file. The sweet thing is that is does all the mm.cfg file b.s. for you.
http://code.google.com/p/flash-tracer/
Probably not as fancy as the others or cutting edge, but I used to create my own log function in the flash movie (funnily enough, called log) that called trace and also called a js function on the page (using whatever method your comfortable with). The function on the page was just a simple console.log() with Firebug. Simple and worked a treat.