Return to Snippet

Revision: 28118
at July 1, 2010 03:40 by martijnbleyen


Updated Code
private function traceObject(o:Object):void{
	trace('\n');

	for(var val:* in o){
	trace('   [' + typeof(o[val]) + '] ' + val + ' => ' + o[val]);
	}

	trace('\n');
}

Revision: 28117
at July 1, 2010 03:39 by martijnbleyen


Initial Code
private function traceObject(o:Object):void{
			trace('\n');
			for(var val:* in o){
				trace('   [' + typeof(o[val]) + '] ' + val + ' => ' + o[val]);
			}
			trace('\n');
		}

Initial URL

                                

Initial Description
neat little function to easily trace objects in as3

Initial Title
Tracing Objects in AS3

Initial Tags

                                

Initial Language
ActionScript 3