Monday, May 24, 2010

Properties that can be set using mm.cfg file

mm.cfg file is used to configure the debugger version of Flash Player. The Location where this file is available depends on the operating system also if this file is not available at the location then we can create this file.


Operating system Location of mm.cfg
MS Window Vista C:\Users\<user_name>\
MS Windows 2000/XP C:Document and Setting\<user_name>\
Macintosh OS X MacHD:Library:Application Support:macromedia:
Linux /home/<user_name>/

Following are the properties that can be set in mm.cfg file for debugging

Properties Description
ErrorReportingEnable Enables/Disables logging of error messages.
1: Enables debug Flash Player to write error messages to the log file.
0: Disables debug Flash Player to write error messages to the log file.
Default value is 0(zero).
MaxWarnings Number of flash warnings/error messages to be logged before stopping.
The default value of the MaxWarning properties is 100.
After 100 warning/error messages are logged, the debug version of Flash Player writes further error messages are suppressed in log file.
Setting the MaxWarnings property will override he default messaging limit. For example if set to 500, the log file will record 500 warning / error messages.
If MaxWarnings property is set to 0 (zero), limit to record warning / error messages is removed and all the warning / error messages are recorded.
TraceOutputFileEnable Enables/Disables logging of trace messages.
1: Enables debug Flash Player to write trace messages to the log file.
0: Disables debug Flash Player to write trace messages to the log file.
Default value is 0(zero).
TraceOutputFileName Ignored form Flash Player 9.

Note: Debug Flash Player writes all warning /error messages /trace statements to a file named flashlog.txt, whose location depends on operating system.

Operating system Location of flashlog.txt
MS Window Vista C:\Users\<user_name>\AppData\Roaming\Macromedia\Flash Player\Logs\
MS Windows 2000/XP C:Document and Setting\<user_name>\Application Data\Macromedia\Flash Player\Logs\
Macintosh OS X MacHD:Users:<user_name>:Library:Preferences:Macromedia:Flash Player:Logs:
Linux /home/<user_name>/macromedia/Flash_Player/Logs/

No comments:

Post a Comment