# iScreensaver Flash Player Debug Logging using Trace and mm.cfg

**URL:** <https://forum.iscreensaver.com/t/iscreensaver-flash-player-debug-logging-using-trace-and-mm-cfg/476>\
**Category:** Flash (SWF)\
**Created:** [April 6, 2013, 8:31pm UTC](https://forum.iscreensaver.com/t/iscreensaver-flash-player-debug-logging-using-trace-and-mm-cfg/476 "2013-04-06T20:31:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![iScreensaver](https://forum.iscreensaver.com/user_avatar/forum.iscreensaver.com/iscreensaver/32/24_2.png) [@iScreensaver](https://forum.iscreensaver.com/u/iScreensaver)\
**Post date:** [April 6, 2013, 8:31pm UTC](https://forum.iscreensaver.com/t/iscreensaver-flash-player-debug-logging-using-trace-and-mm-cfg/476/1 "2013-04-06T20:31:18Z")

</div>

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](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](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](http://help.adobe.com/en_US/flex/using/WSda78ed3a750d6b8f-4867184d1239f9d0558-8000.html)
