Archive

Archive for the ‘OS X’ Category

Watching trace statements when running Flash content in the browser

April 2nd, 2009 Randy 2 comments

As Flash and Flex applications get more complex the ability to watch trace statements while running the application in a browser is invaluable. This is how I do it (in OSX):

1) find your mm.cfg file. Mine is located here: ~username/mm.cfg (substitute "username" with your real username)

2) open it in a text editor and add these lines:

CODE:
  1. ErrorReportingEnable=1
  2. TraceOutputFileEnable=1
  3. MaxWarnings=0

3) open a terminal window and add this to your .profile file.

CODE:
  1. alias trace=tail\ -f\ "/Users/username/Library/Preferences/Macromedia/Flash\ Player/Logs/flashLog.txt"

To watch your browser throw trace statements, just open a terminal window and type "trace" and they will now appear in the terminal window.

OSX 10.5.3 breaks Flex debugging

June 4th, 2008 Randy No comments

I dealt with this with the 10.5.2 update. Apparently the OSX update installs a fresh version of the Flash Player which is not the debugging version. This will disable the ability for Flex Builder to test an application in debug mode. It is a simple fix (I like simple). Simply download the Flash Player with debugger and install it.

lost in translation

February 23rd, 2006 Randy Comments off

My website RUNINGMAP.COM was blogged by Michael Surtees which caused a cascade of blogging around the site. The result was a spike in hits especially after a japanese blog posted a writeup. I was curious to read the site and I found this free translation tool on Apple's website.

easytrans.jpg

Categories: OS X Tags: