Created
July 21, 2013 06:31
-
-
Save RKAN/6047709 to your computer and use it in GitHub Desktop.
View trace() output in JavaScript console
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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