View comments | RSS feed

Configuring the debugger version of Flash Player to record trace() output

To record messages on the client, you must use the debugger version of Flash Player.

The debugger version of Flash Player sends output from the trace() method to the flashlog.txt file. The default location of this file is the same directory as the mm.cfg file. You can customize the location of this file by using the TraceOutputFileName property in the mm.cfg file. You must also set TraceOutputFileEnable to 1 in your mm.cfg file.

For more information, see Configuring the debugger version of Flash Player.


Flex 2.01

Take a survey


Comments


sparky1962 said on Apr 27, 2007 at 1:39 AM :
I guess the text "The debugger version of Flash Player sends output from the trace() method to the flashlog.txt file. The default location of this file is the same directory as the mm.cfg file. You can customize the location of this file by using the TraceOutputFileName property in the mm.cfg file." is no longer true for the current GA release of the Player, right?
FredMB said on Aug 20, 2007 at 2:18 PM :
Nope, I can't find it either. Anyone know where this setting is? I can't seem to turn on basic display of the trace() results anywhere from the Flex 2 dev environment or a directory-based CFG file.
smgilson said on Aug 21, 2007 at 6:01 AM :
The location of the mm.cfg file is based on your OS:

Macintosh OS X /Library/Application Support/Macromedia
Windows 95/98/ME %HOMEDRIVE%\%HOMEPATH%
Windows 2000/XP C:\Documents and SettingsSername
Windows Vista C:SERSUSERNAME
LINUX /HOME/USERNAME

THE FLASHLOG.TXT FILE IS ALSO LOCATED BASED ON YOUR OS:

WINDOWS 95/98/ME/2000/XP C:\DOCUMENTS AND SETTINGSUSERNAME\APPLICATION DATA\MACROMEDIA\FLASH PLAYERogs
windows vista c:SERSUSERNAME\APPDATA\ROAMING\MACROMEDIA\FLASH PLAYERogs
macintosh os x /users/username/library/preferences/macromedia/flash player/logs/
linux /home/username/.macromedia/flash_player/logs/


for more information on mm.cfg, flashlog.txt, and configuring mm.cfg, see: http://livedocs.adobe.com/flex/201/html/logging_125_01.html

stephen gilson
flex doc team

 

rss feed | send me an e-mail when comments are added to this page | comment report

current page: http://livedocs.adobe.com/flex/201/html/logging_125_07.html