1,右键点击我的电脑,添加环境变量->用户变量
变量名:HOMEDRIVE 值 "C:\" (无引号)
变量名:HOMEPATH 值 "Documents and Settings\登录用户名" (也无引号)
2,在"C:\Documents and Settings\登录用户名" 目录下创建一个文件命名为"mm.cfg"
内容为:
ErrorReportingEnable=1
TraceOutputFileEnable=1
TraceOutputFileName=C:\flashlog.txt
3,然后用 Flash 调试播放器打开任何一个允许调试的SWF,Trace()内容就自动记录到C:\flashlog.txt文件中了.
转载自Danger'bolg