iScreensaver Flash Player Debug Logging using Trace and mm.cfg

If you are doing complex Flash/ActionScript programming, it may be helpful to get some debugging info as you work.

One technique is to use the actionscript “trace()” command to output strings to a log file on disk.
To enable this, you need to do a few things:

  1. Add Trace() commands to your ActionScript as needed
  2. Install the debug version of Flash Player : http://www.adobe.com/support/flashplayer/downloads.html
  3. set up your “mm.cfg” file as described here: http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7ed6.html
  4. At runtime, find the location of the Log file as described here:
    http://help.adobe.com/en_US/flex/using/WSda78ed3a750d6b8f-4867184d1239f9d0558-8000.html