Skip to content

Instantly share code, notes, and snippets.

@RKAN
Created July 21, 2013 06:31
Show Gist options
  • Save RKAN/6047709 to your computer and use it in GitHub Desktop.
Save RKAN/6047709 to your computer and use it in GitHub Desktop.
View trace() output in JavaScript console
//import ExternalInterface class use this instead of trace() to view output in JavaScript console
public function log(_t:String):void{
if(ExternalInterface.available){
ExternalInterface.call("console.log", _t );
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment