Tracing, Dumping, Printing Array in Flash ActionScript3 a la print_r PHP Array
In PHP, print_r dumps the array data nicely in readable format but there’s no such thing in Flash. The closest is the following. For numerically indexed arrays, use following: For associative arrays in Flash, you have to use for in loop like this: Hope that helps. Cheers!