Using mm.cfg to trace flash output to a file

It seems complicated but certainly it isn’t. The hardest part is to ensure you have the right player installed in all your browsers to make the log available.

http://www.adobe.com/support/flashplayer/downloads.html


If you develop content in Flash you should install the debug player in all your browsers. The Flash environment is great, but it doesn’t allow you to debug browser related issues easily. Every browser has it’s own idiosyncratic behaviors, and can cause all kinds of last minute headaches when deploying to a new environment.

Here’s a technote from Adobe regarding proper configuration of the player and requried files and profiling of the application in the player:

 http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19323

http://www.adobe.com/devnet/flex/articles/profiler_04.html

Actionscript.org collected a number of the steps to do the setup. 

 http://www.actionscript.org/resources/articles/207/1/Trace-and-debug-ActionScript-from-your-browser/Page1.html

 With this enabled you can do away with polluting your code with special workarounds, custom trace functions, using Luminibox or Xray, and generally slowing down your flash application. In the end, when you are comfortable and ready for a release, you can just click the box ‘omit trace calls’ and you are clean and ready for release to the world.

 One last piece of great code is FlashTracer from Alessandro Crugnola — this allows you to view the trace file from a panel in Firefox — great stuff!

About Bela Korcsog

Proud father of two children, happy husband to one wife. I've been programming various technologies and leading the development of huge projects for most of the last ten years. I've got some specific likes and dislikes through my experiences in the web site business but generally I'm pretty straightforward about it. Not a huge fan of the latest and greatest shiny toy (it took me four years to show an interest in Flash) I'm more than happy to code in any language that comes along (Actionscript is just so darn fun).
This entry was posted in Flash, Flex. Bookmark the permalink.

Comments are closed.