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");