ActionScript & console.log()

There are a few solutions out there for debugging flash inside a browser. However, if you just need something quick this tends to work pretty nicely:

function log(value:*):void{"console.log", value);

This could be taken in lots of different directions, you could combine it with an existing log system, you could determine the type of “value” and generate a formatted string etc…


Leave a Reply

Spam protection by WP Captcha-Free