4 Replies Latest reply on Feb 2, 2012 2:23 AM by jtza8

    trace(); Flash 11; and mm.cfg

    jtza8

      I've tried a few things now, but I can't seem to get any trace output to a log file from either the Flash Player in my browser, or the separate Projector player.

       

      Here's my details:

       

      • Flash browser plugin version: 11.1 (debugger version)
      • Flash Projector: 11.1 (debugger version)
      • OS: MacOS 10.6.8

       

      mm.cfg:

       

      ErrorReportingEnable=1
      TraceOutputFileEnable=1
      MaxWarnings=500
      

       

      Places where mm.cfg was saved and tested:

       

      /Users/jens/mm.cfg
      /Library/Application Support/Macromedia/mm.cfg
      /Users/jens/Library/Application Support/Macromedia/mm.cfg
      

       

      With these settings as they are, I expect text to appear in the default flashlog.txt file here:

       

      /Users/jens/Library/Preferences/Macromedia/Flash Player/Logs/flashlog.txt
      

       

      This file does exist. It's empty, by default, and it remains empty even after I run a little test program which works fine otherwise...

       

      package
      {
        import flash.display.Sprite;
        import flash.text.TextField;
      
        [SWF(width="640", height="480", backgroundColor="#cccccc")]
        
        public class HelloWorld extends Sprite
        {
          public function HelloWorld()
          {
            var textField:TextField = new TextField();
            textField.text = "Hello World";
            addChild(textField);
      
            trace("Hello World");
          }
        }
      }
      

       

      If I delete the flashlog.txt file, and run it again, a new flashlog.txt file is created, but is still empty. If I specify a different log file by adding the following line to my mm.cfg, the custom log file isn't even created. If I create a blank log file, and run my swf file again, it remains empty.

       

      TraceOutputFileName=/Users/jens/tmp/flashlog.txt
      

       

      The above file name is valid and tested and has liberal read/write permissions.

       

      Any suggestions left? Any reply at all will be appreciated!

       

      Jens.