A brilliant version of print_r for actionscript:

http://dev.base86.com/solo/47/actionscript_3_equivalent_of_phps_printr.html