R – Monitor the console output from within the actionscript – flash application

actionscript-3flash

I am loading an as2 swf into an as3 swf. When I am debugging the as3 application (I am using flex builder as my ide) I can see the debug output from the as2 app. You can't call functions or properties of an as2 swf from within an as3 swf so I have no way of knowing what is going on within the as2 swf programmatically.

Is there a clever workaround whereby I can consume the debug output from the as2 swf from within my as3 swf? What api is flexbuilder plugging into to display the debug output? Can I use that in my as3 app?

I tried the swfBridge but ran into limitations after a week of trying. This would be a great workaround.

Best Answer

How about LocalConnection? Here's an example that may or may not suit your needs.

Related Topic