Thursday, September 15, 2005

Debugging mProjector

Just got off the phone with a customer - we learn important stuff on these calls, especially what is confusing sometimes.

With mProjector on Mac OS X you must install the mProjector component and drag it onto your fla, the first frame is a good spot. And here's the real trick - commands are not available until the second frame, since they are intialized in the first frame

then call mApplication.enableAutoTrace(true) to denable debugging
then call mApplication.trace("a trace string") to send some info to the Console

The console?

yeah its an app that is already on you mac.

Go to /Application/Utilities and there lies Console. open it up and watch your strings fly by..

No comments: