You configure the error-reporting mechanism of Flash Debug Player using the mm.cfg text file. This file is typically located in the same directory as the flashlog.txt file.
Two Microsoft Windows environment variables define the location of this directory:
HOMEDRIVE Specifies the drive letter of the path to the home directory. In most Microsoft Windows systems, the default value is C:, the primary hard drive.
HOMEPATH Specifies the path to the home directory, relative to HOMEDRIVE. On Microsoft Windows 2000, the default is \. In Microsoft Windows XP, the default is \Documents and Settings\user_name where user_name is your system user name.
Therefore, the default home directory is C:\ in Microsoft Windows 2000 and C:\Documents and Settings\user_name in Microsoft Windows XP.
For information on setting these two environment variables, see the Flex installation instructions.
The following mm.cfg file enables error reporting and configures Flash Debug Player to write error messages to the flashlog.txt, where flashlog.txt is in the same directory as mm.cfg:
ErrorReportingEnable=1 TraceOutputFileEnable=1
The following table lists the properties that you can set in the mm.cfg file:
| Property | Description |
|---|---|
ErrorReportingEnable |
Set |
MaxWarnings |
Set By default, Flash Debug Player logs 100 error messages to the log file. After 100 messages, Flash Debug Player writes a message to the file stating that further error messages will be suppressed. Set the |
TraceOutputFileEnable |
Set |
TraceOutputFileName |
Set TraceOutputFileName=<fully qualified path/filename> By default, Flash Player writes error messages to a file named flashlog.txt located in the directory specified by the environment variables HOMEDRIVE and HOMEPATH. |
Version 1.5
RSS feed | Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flex/15/flex_docs_en/00000794.htm
Comments
porieux said on Jun 9, 2005 at 7:21 PM : mpeterson said on Jun 10, 2005 at 1:27 PM : No screen name said on Aug 2, 2005 at 6:35 AM : spindlenine said on Sep 7, 2005 at 8:18 PM : No screen name said on Mar 8, 2006 at 9:34 AM : egeddes said on Nov 19, 2006 at 10:51 AM :