开发者

trace() not written to flashlog.txt

开发者 https://www.devze.com 2023-01-16 17:44 出处:网络
I\'m using mxmlc on a Mac terminal to compile an AS 3.0 project and then I run it by opening the Main.swf in Flash Debugger 10.

I'm using mxmlc on a Mac terminal to compile an AS 3.0 project and then I run it by opening the Main.swf in Flash Debugger 10. Now, errors get written to the flashlog.txt just fine but my trace statements don't : ( I have mm.cfg in /Library/Application Support/Macromedia and it contains the following lines:

ErrorReportingEnable=1
TraceOutputFileEnable=1

What am I missing? Why is trace() not written to flashlog.txt?

Thanks for an开发者_开发技巧y help!


The compiler option "-debug=true" does the job. Like this:

mxmlc -use-network=false -default-background-color=#FFF00F -default-size=760,610 -debug=true Main.as

0

精彩评论

暂无评论...
验证码 换一张
取 消