Simple Flash to browser console logging

If you are like me, you like to be able to trace out commands etc from Flash into your browser container. I generally use FlashTracer on Firefox or a more full featured debugger.

However, sometimes I simply want to trace elements into the console of either Safari or Firefox. This is as simple as using ExternalInterface and a small javascript method that takes a single parameter and writes it to the browsers console, via console.log(). Which can then be inspected via Safari’s debug panel or within Firebug on Firefox. And yes, I realise I could use Flashbug or something similar, but to be honest, I hardly ever use Firefox, hence the desire for something that works in Safari.

Simple example file is attached.

Source files
Simple Flash logging (239)

3 Neighs about “Simple Flash to browser console logging”



freemind Neighed:

nice! works with chrome too btw ;)
thx mate!

Özgür ALTAY Neighed:

@freemind,
How you can use this in Google Chrome?

Özgür ALTAY Neighed:

Ok I found it!
From the Javascript Console menu (CTRL+Shift+J)

Leave a neigh?