Easily configure your flash log

Source: Internet
Author: User
Locking ing the debugger version of Flash Player

Revised 2/4/2008: added URL for obtaining debugger version of Flash Player.

You use the settings in the MM. CFG text file to configure the debugger version of Flash Player (available from www.adobe.com/support/flashplayer/downloads.html ). you must create this file when you first configure the debugger version of Flash Player. the location of this file depends on your operating system. the following table shows where to create the MM. cfg file for several operating systems.

Revised 4/12/2007: Corrected default location of MM. cfg file on Linux.
Revised 2/4/2008: added location for Windows 95/98/me and Windows Vista, corrected location for Windows 2000 and Linux.

Operating System

Create mm. cfg file in this directory

Macintosh OS X

Machd: Library: Application Support: Macromedia:

Microsoft Windows Vista

C: \ Users \User_name\

Microsoft Windows 2000/XP

C: \ Documents ents and Settings \User_name\

Microsoft Windows 95/98/me % Homedrive % \ % homepath % \

Linux

/Home/User_name

The following table lists the properties that you can set in the MM. cfg file:

Property

Description

ErrorReportingEnable

Enables the logging of error messages.

SetErrorReportingEnableProperty to 1 to enable the debugger version of Flash Player to write error messages to the log file. To Disable Logging of error messages, setErrorReportingEnableProperty to 0.

The default value is 0.

MaxWarnings

Sets the number of warnings to log before stopping.

The default value ofMaxWarningsProperty is 100. After 100 messages, the debugger version of Flash Player writes a message to the file stating that further error messages will be suppressed.

SetMaxWarningsProperty to override the default message limit. For example, you can set it to 500 to capture 500 error messages.

SetMaxWarningsProperty to 0 to remove the limit so that all error messages are recorded.

TraceOutputFileEnable

Enables trace logging.

SetTraceOutputFileEnableTo 1 to enable the debugger version of Flash Player to write trace messages to the log file. Disable trace logging by settingTraceOutputFileEnableProperty to 0.

The default value is 0.

TraceOutputFileName

Note: Beginning with the Flash Player 9 update, Flash Player ignoresTraceOutputFileNameProperty.

Sets the location of the log file. by default, the debugger version of Flash Player writes error messages to a file named flashlog.txt, located in the same directory in which the MM. cfg file is located.

SetTraceOutputFileNameTo override the default name and location of the log file by specifying a new location and name in the following form: on Macintosh OS X, you shoshould use colons to separate directories in the traceoutputfilename path rather than slashes.

TraceOutputFileName=<fully qualified path/filename>

The following sample mm. cfg file enables Error Reporting and trace logging:

ErrorReportingEnable=1
TraceOutputFileEnable=1
Subtopics
Log File Location

Log File Location

The default log file location changed between the initial Flash Player 9 release and the Flash Player 9 update. in the initial Flash Player 9 release, the default location is the same directory as the MM. cfg file and you can update the log file location and name throughTraceOutputFileNameProperty.

With the Flash Player 9 update, you cannot modify the log file location or name. the filename is flashlog.txt, and its location is hard-coded, depending on your operating system. the following table shows the flashlog.txt file location:

Revised 2/4/2008: Corrected default locations for log file.

Operating System

Location of flashlog.txt

Macintosh OS X

Machd: Users:User_name: Library: preferences: Macromedia: Flash Player: logs: flashlog.txt

Microsoft Windows Vista

C: \ Users \User_name\ Appdata \ roaming \ Macromedia \ Flash Player \ logs \ flashlog.txt

Windows 95/98/ME/2000/XP

C: \ Documents ents and Settings \User_name\ Application Data \ Macromedia \ Flash Player \ logs \ flashlog.txt

Linux

/Home/User_name/. Macromedia/flash_player/logs/flashlog.txt

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.