Posted By

burnandbass on 11/24/12


Tagged


Versions (?)

View trace() output in JavaScript console


 / Published in: ActionScript 3
 

import ExternalInterface class use this instead of trace() to view output in JavaScript console

  1. public function log(_t:String):void{
  2. if(ExternalInterface.available){
  3. ExternalInterface.call("console.log", _t );
  4. }
  5. }

Report this snippet  

You need to login to post a comment.