Wednesday, October 1, 2014

Flash trace() in browser Console

This is Super awesome. You can view the Flash trace in browser console, using the following commands in Actionscript. It works fine in Chrome and FireFox.
You are free to debug your swf in your website.


import flash.external.ExternalInterface;

ExternalInterface.call("console.log", "YourString");

No comments:

Post a Comment

Please include your thoughts/suggestion to make it as a better blog. If you find it useful, Please update with your valuable comments, so that others can use it.