Log to FireBug from Actionscript 3


/ Published in: ActionScript 3
Save to your folder(s)



Copy this code and paste it in your HTML
  1. import flash.external.ExternalInterface;
  2.  
  3. public function log(_obj:Object):void {
  4. // Firebug Console
  5. ExternalInterface.call("console.log",_obj);
  6. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.