package { public function _strace(str) { _trace(str); if (GraphicExport.wrapper != null) { GraphicExport.SendCommand({command:"print",string:str + "\n"}); } } }