/ Published in: ActionScript 3
neat little function to easily trace objects in as3
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
private function traceObject(o:Object):void{ trace('\n'); for(var val:* in o){ trace(' [' + typeof(o[val]) + '] ' + val + ' => ' + o[val]); } trace('\n'); }