logging - no flashlog.txt -
hey guys! i'm having troubles flashplayer logging. yes, have installed debugging version, mm.cfg file (content errorreportingenable=1 traceoutputfileenable=1) exists in profile folder, there no flashlog.txt. i'm using windows 7 (x64) , ie8 if that's important.
a solution:
- install firebug add-on in firefox
- create log function in as3.
the code:
import flash.external.externalinterface; function log(msg:string):void { externalinterface.call("console.log", msg); }
the above function calls javascript console.log function. when execute following command movieclip:
log("i'm testing movieclip");
you see message in firebug console.
Comments
Post a Comment