No flashlog.txt

Hey guys! I'm having trouble logging with FlashPlayer. Yes, I installed the debug version, the mm.cfg file (the contents of ErrorReportingEnable = 1 TraceOutputFileEnable = 1) exists in my profile folder, but there is no flashlog.txt. I use Windows 7 (x64) and IE8, if that matters.

+3
source share
2 answers

Decision:

  • Install Firebug Add-on in Firefox
  • Create a log function in AS3.

The code:

import flash.external.ExternalInterface;

function log(msg:String):void {
    ExternalInterface.call("console.log", msg);
}

The above function calls the javascript console.log function. When you execute the following command from your movie clip:

log("I'm testing my movieclip");

You will see this message in the Firebug console.

+3
source

I had a similar problem a year or two ago on Linux, and the solution was to create a flashlog.txtdefault file .

0

All Articles